473,289 Members | 2,087 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,289 software developers and data experts.

how to access wamp server from another computer in a lan?

127 100+
i created a page that stores all the information about the resume in to the database.
i used php and mysql database. its runs on wamp server...
it works fine in that system.

now i want to access that page from another computer and store the values into the database.computers are connected in the LAN.

another computer doesnt have wampserver. is it possible to access those pages using the servers ip address? if so how?
plz help..
Aug 6 '10 #1
20 107259
johny10151981
1,059 1GB
is WAMP your server or is Apache your server?
WAMP="Windows Apache MySQL PHP".

Apache is your web-server not WAMP

As a matter of fact to access a web page you do not need any server to be installed in your system. But the server(who will server the client request) need server to be installed.

Yes you can access your server from other machine. In that case two issue is possible.
1. If you just need to access from local network
2. If you need to access from internet i.e. from anywhere on earth.

for 2 you would have to have real(public) IP address.

for 1: you can access only from local network. Local ip address is enough.

in both case you need to make a small change in httpd.conf file.
Expand|Select|Wrap|Line Numbers
  1. #your root directory address in full 
  2. <Directory "C:/Program Files/*/www">
  3.  Order allow, deny
  4.  Allow from all
  5. </Directory>
  6.  
After changing, you need to restart your apache server. then you can access from out side your own machine
Aug 6 '10 #2
impin
127 100+
thanks a lot
Aug 6 '10 #3
impin
127 100+
is it httpd.ini file? or httpd.conf file?
in wamp i find only httpd.conf file and php.ini file. where i to make these changes?
Aug 12 '10 #4
Dormilich
8,658 Expert Mod 8TB
it’s httpd.conf. php.ini is not related to the Apache server.
Aug 12 '10 #5
johny10151981
1,059 1GB
yes it is httpd.conf. i wrote http.ini by mistake. I apologize for that.
Aug 12 '10 #6
Dormilich
8,658 Expert Mod 8TB
no worry, that can happen to everyone.
Aug 12 '10 #7
impin
127 100+
its ok. thanks.
i am trying to access the pages which are in wamp installed system. those files are in C:\wamp\www\Salary this folder. now i want access "home.php" from that folder from another system in the lan.

i tried typing ip address in the url ...

http://192.168.1.2/home.php
but it doesnt work...
i got this error
The requested URL /home.php was not found on this server.
plz help how to access those pages from another system...
i also changed the httpd.conf file like you mentioned...
Aug 13 '10 #8
johny10151981
1,059 1GB
I dont know your httpd.conf file but i can guess that you havent create any Salary directory for apache.

you can access home.php by
http://192.168.1.2/home.php
if home.php in www folder

to access your address would have to be
http://192.168.1.2/Salary/home.php

A small suggestion: do not use uppercase letter for directory or file name
Aug 13 '10 #9
impin
127 100+
ya. thank you very much.
Aug 13 '10 #10
impin
127 100+
may i use like this to access the page from outside lan using public ip address.
http://xxx.xxx.xxx.xxx/Salary/home.php
Aug 13 '10 #11
Tasim
2
Hi
If your have installed WAMP or XAMPP then you need not to do any change in conf file.
Just put the actual ip of your computer and followed by your project name.

for eg: http://192.168.1.2/myproject/

And

You cannot use this server until or unless you havent purchase an static IP and keep your firewall link with the internet IP and also with local server ip.

Thankx
Aug 15 '10 #12
Hey,

Just do this
> From the WampServer Notify Icon Click > Put Online
> Disable your firewall

----------------------------
That's it!

your users can access it in LAN.
May 4 '12 #13
@ophthysoft
Thanks!!! This is so simple...
Jun 8 '12 #14
Thanks! it was cool!
Aug 24 '13 #15
Is there anyway to achieve this without disabling firewall.
Aug 25 '13 #16
Rabbit
12,516 Expert Mod 8TB
You don't need to completely disable a firewall. You can just open/forward a single port.
Aug 25 '13 #17
Open port (8081) of the server such that everyone can access your server. This depends on which OS you are using. Like if you are using Windows Vista, then follow the below steps.

Open Control Panel >> System and Security >> Windows Firewall then click on “Advance Setting” and then select “Inbound Rules” from the left panel and then click on “Add Rule…”. Select “PORT” as an option from the list and then in the next screen select “TCP” protocol and enter port number “8081” under “Specific local port” then click on the ”Next” button and select “Allow the Connection” and then give the general name and description to this port and click Done.

Now you are done with PORT opening as well.

Next is “Restart All Services” of WAMP and access your machine in LAN or WAN.

Thanks
Jeff Jones
Lead -
Dec 10 '13 #18
How could I access Magento from remote machine using XAMPP
Dec 16 '15 #19
Dormilich
8,658 Expert Mod 8TB
not at all.
Dec 16 '15 #20
can anyone write the code how to do this... or please mail it at riyap7922@gmail.com
Jan 5 '17 #21

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: dbuchanan | last post by:
I have a Windows Forms application that accesses SQL Server 2k from a small local network. The application has been used for weeks on other systmes but a new install on a new machine retruns...
2
by: Gandalf | last post by:
I can't surf my wamp server , Although both of the services seems to be working. When I trying to surf my server the browser loading the page for eternity. thanking you in advance
2
by: Andrius B. | last post by:
Hi. I am writing an app, whitch has to access a database, located on another computer (Intranet). Let's say, the computer where the app is to be installed, is "Computer1". The computer with the...
1
by: fatalparadox | last post by:
I had WAMP Server installed for a few months, everything was fine. Now all of a sudden it stopped working. It still executes the PHP but it doesn't allow me to write to a .txt file anymore. When...
2
by: robin1983 | last post by:
Hi All, I am facing a problem with WAMP. I installed the wamp5_1.7.1a. After installation, when I try to run the through explorer by writing "http://localhost" but its showing pages cannot be...
2
by: yashiro | last post by:
Hello everyone, I have a webserver with php. I would like to replace some files in an another computer, each time a php'page is running on my webserver. How can i realize this?How can i get an...
3
by: robin1983 | last post by:
Dear All, I am facing a problem with WAMP server. i dowonload the WAMP SERVER2.0c and installed in my system. But the problem is that none of the server is running. When i try to access the...
1
by: impin | last post by:
i want to access wamp server outside my LAN... is it possible to access from outside using the public ip address.?? Plz.. help
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.