
March 26th, 2002, 05:00 AM
|
|
Contributing User
|
|
Join Date: Oct 2001
Posts: 149
Time spent in forums: 2 h 49 m 47 sec
Reputation Power: 8
|
|
|
LISTEN Vs. PORT?
I've finally decided to start dabbling in Apache, and have learned a fair bit about configuring it so far... but I have a question that I can't seem to get a clean answer to anywhere, so hopefully someone can explain it a little better.
In the httpd.conf file, there are obviously the 3 sections that they outline. In Section 1, there is a 'Listen' directive. In Section 2, there is a 'Port' directive.
Now, I want to run Apache on port 8000, and so far only changing Listen to 8000 has worked locally... but when I tried to access the server from my Dad's office, it didn't come up. So now I'm thinking that the reason it didn't was because the 'Port' directive in section 2 was still set to 80. Except that IIS 5 is still running on port 80... and it came up fine.
So my question is, what really *is* the difference between these two directives?
Thanx,
- coredumped.
|