Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 26th, 2002, 05:00 AM
coredumped coredumped is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 149 coredumped User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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.

Reply With Quote
  #2  
Old March 26th, 2002, 05:12 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You really should start here -> http://httpd.apache.org/docs/mod/core.html#port
These days you don't really need to run Apache on another port other than port 80 because Apache understands Host header, thus you can create vhost for different sites. You'd use another port only if your ISP blocks port 80.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > LISTEN Vs. PORT?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT