APACHE HELP!

khlee

Senior member
Oct 9, 2002
240
0
0
so I set up an apache server with phpdev, and since I am on a router I set up the router to forward port 80 to the fixed ip address of my server. however, when i try to load my page using my WAN Ip address, i get nothing. take the forwarding off and i get the router's set up menu. so yeah, im pretty sure the problem is apache, but i have no idea how to go about fixing this problem. help!
 

Bleep

Diamond Member
Oct 9, 1999
3,972
0
0
Why would forward port 80 and have it listen on port 3000? It has to listen on the same port you have forwarded. Also if you use a non standard port (other than 80) you have to tell the machine that in your address like this 000.000.000.00:3000 the port number has to follow the IP address but seperated by a colon. If not Apache will not even see the request. You need to read the Apache configuration manual again.

Bleep
 

kt

Diamond Member
Apr 1, 2000
6,032
1,348
136
Why on port 3000? Is something else using up the web port? Did you make sure you forward port 80 to the correct port on your internal server?
 

khlee

Senior member
Oct 9, 2002
240
0
0
Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>


its listening to 80 no matter what.
 

khlee

Senior member
Oct 9, 2002
240
0
0
Originally posted by: kt
Why on port 3000? Is something else using up the web port? Did you make sure you forward port 80 to the correct port on your internal server?

i forwarded port 80 from WAN to port 80 to the fixed IP of my server
 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
The "Port xxx" directive tells the server on what port to listen.
Listen can used to bind to a specific address as well, but you probably won't need that, just make sure "Port" is set to whatever you want it to listen to, 80 is the default HTTP port.
 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
What if you do "telnet localhost 80" on the server box itself, does it connect?
From another internal box?

What OS by the way?
 

khlee

Senior member
Oct 9, 2002
240
0
0
Originally posted by: Sunner
What if you do "telnet localhost 80" on the server box itself, does it connect?
From another internal box?

What OS by the way?

nope doesnt connect =/. i dont have access to the other internal box. Windows XP.