Forum Moderators: phranque

Message Too Old, No Replies

From 8080 to 80

         

Dapuzz

12:45 pm on Mar 20, 2005 (gmt 0)

10+ Year Member



Hi all
i have installed apache right now on localhost but it won't start whith "listen 80" (and i don't know why! may be the router?)
so i put the line "listen 8080" and [localhost:8080...] works fine

is it possible configure my browser to scan directly the port 80 and 8080?
or setting up the "host" windows file to make the 8080 the default port for "localhost"?

Thank you all.

sitz

1:43 pm on Mar 20, 2005 (gmt 0)

10+ Year Member



1) Unix will not allow you to bind to a port < 1024 unless you are root (Apache will drop root privileges in favor of the user defined in the 'user' configuration parameter once the binding is complete)

2) No

3) No; the 'hosts' file feature is only for futzing with DNS. The port a given machine is listening on is not defined in DNS.

Dapuzz

1:49 pm on Mar 20, 2005 (gmt 0)

10+ Year Member



so, i have to find out what is running in my port 80...
how can i do this?

Ps: i'm administrator on winxp

jdMorgan

4:51 pm on Mar 20, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> find out what is running in my port 80 ... on winxp.

Probably the stripped-down IIS server included with XP. You can uninstall it in the usual way.

From Start->Run, enter "Cmd". Then enter "netstat" in the DOS box. This will tell you all sorts of things about your network. Enter "netstat /?" for a full list of command switches (see the "-b" switch).

Jim

Dapuzz

8:20 am on Mar 21, 2005 (gmt 0)

10+ Year Member



Whithout the lan cable apache starts on the 80 so i think the problem is the web-interface of the router :D

Yes, now all is going on!
Tanks a lot!