Jump to content


new to apache

  • Please log in to reply
4 replies to this topic

#1 volskid2002

  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 24 September 2003 - 02:24 AM

i installed apache, php, and mysql and everything is working fine for me except that other people cannot view my website. when i go to localhost everything show up fine!!! I have a linksys router that i have port 80 forwarded on so its open and here are some excerps from my httpd file:

# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#Listen 3000

# 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

# ServerName allows you to set a host name which is sent back to clients for
# your server if it\'s different than the one the program would get (i.e., use
# \\\"www\\\" instead of the host\'s real name).
# Note: You cannot just invent host names and hope they work. The name you  
# define here must be a valid DNS name for your host. If you don\'t understand
# this, ask your network administrator.
# If your host doesn\'t have a registered DNS name, enter its IP address here.
# You will have to access it by its address (e.g.,
# anyway, and this will make redirections work in a sensible way.
# is the TCP/IP local loop-back address, often named localhost. Your  
# machine always knows itself by this address. If you use Apache strictly for  
# local testing and development, you may use as the server name.

i think that about does it so can anyone figure out why no one can connect to my server. if my ISP blocks port 80 how can i change that so that others can view my site?

any help would be greatly appreciated!!!

#2 effigy

  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 24 September 2003 - 04:51 AM

are you running windows or linux? again, check for any firewalls in the way. if your ISP blocks port 80, change it to 8080, for example.
Regexp | Unicode Article | Letter Database

#3 volskid2002

  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 24 September 2003 - 05:53 AM

im running windows xp pro and i have all my firewalls disabled,b ut im not sure if my ISP blocks port 80 or not. if they do block it how do i change it to 8080 like you said?

#4 pauper_i

  • Members
  • PipPipPip
  • Advanced Member
  • 59 posts
  • LocationPhoenix, AZ, USA

Posted 24 September 2003 - 07:11 AM

change your httpd.conf to the following (this is copied straight from mine, and it is working):

# Change this to Listen on specific IP addresses as shown below to  
# prevent Apache from glomming onto all bound IP addresses (
Listen 80
Listen 8080

You don\'t need to specify your IP address in there since your server is presumably on an internal IP address anyway, your linksys is grabbing the external one.
Note: I use both 80 and 8080 because the 8080 is for the external connections, the 80 I use for the internal.

External users will then have to connect to http://(your external IP address):8080
The address you need to give them is the address of the router, not the address of your machine.

You might want to do an IPCONFIG and check what the address of your machine really is - the one quoted in your httpd doesn\'t look right for an internal address, so your server may be binding to the wrong IP.

Hope that helps!


***edit*** go to http://grc.com and use the port scanner there to see if port 80 is open or not (and any other ports too!!) D
Genius is one percent inspiration, and ninety-nine percent perspiration. [br]Thomas Alva Edison

#5 volskid2002

  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 24 September 2003 - 08:11 AM

yep that helps i finally got \'er going good thatnx for all the help

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users