472,796 Members | 1,474 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,796 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 106793
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>
After changing, you need to restart your apache server. then you can access from out side your own machine
Aug 6 '10 #2
127 100+
thanks a lot
Aug 6 '10 #3
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
8,658 Expert Mod 8TB
itís httpd.conf. php.ini is not related to the Apache server.
Aug 12 '10 #5
1,059 1GB
yes it is httpd.conf. i wrote http.ini by mistake. I apologize for that.
Aug 12 '10 #6
8,658 Expert Mod 8TB
no worry, that can happen to everyone.
Aug 12 '10 #7
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 ...
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
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
if home.php in www folder

to access your address would have to be

A small suggestion: do not use uppercase letter for directory or file name
Aug 13 '10 #9
127 100+
ya. thank you very much.
Aug 13 '10 #10
127 100+
may i use like this to access the page from outside lan using public ip address.
Aug 13 '10 #11
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:


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.

Aug 15 '10 #12

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
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
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.

Jeff Jones
Lead -
Dec 10 '13 #18
How could I access Magento from remote machine using XAMPP
Dec 16 '15 #19
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

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...
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
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...
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...
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...
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...
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...
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
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
by: lllomh | last post by:
How does React native implement an English player?
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.