question on acessaing apache serve from remote locations
Moderator: General Moderators
question on acessaing apache serve from remote locations
hello, I am running apache 1.3 on windows XP, and was wondering how to make it so that other people can access what I have on the server from their computer by typing in my IP address. I have tried this before, and it didnt work. is there any special setting or thing I have to do that will allow other people to view whats on my server? thanks.
-
kettle_drum
- DevNet Resident
- Posts: 1150
- Joined: Sun Jul 20, 2003 9:25 pm
- Location: West Yorkshire, England
First of all make sure that they can ping your computer so that your not behind any firewall or router that stops any access. Then open your httpd.conf file and go down a few hundred lines to you see:
And make sure that "Allow from all" is there, or you can add individual IP's.
Some ISP's also block people from access port 80 on their customer's machines as they dont allow webservers - if this is the case then simply change the port apache listens on to something like 8080. This option is again in the httpd.conf file and is a few lines up:
Code: Select all
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>Some ISP's also block people from access port 80 on their customer's machines as they dont allow webservers - if this is the case then simply change the port apache listens on to something like 8080. This option is again in the httpd.conf file and is a few lines up:
Code: Select all
#
# Port: The port to which the standalone server listens. Certain firewall
# products must be configured before Apache can listen to a specific port.
# Other running httpd servers will also interfere with this port. Disable
# all firewall, security, and other services if you encounter problems.
# To help diagnose problems use the Windows NT command NETSTAT -a
#
Port 80