Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

How can i use two webservers to listen on port 80?

8:14 pm on Dec 30, 2006 (gmt 0)

New User

10+ Year Member

joined:Oct 15, 2003
votes: 0

Hi, i am playing with a Apache on a Win2000 system. I have a Apache 2.2 listening on port 80. Works perfect. Now i am trying to test a second Webserver and this server (with a frontiere kernel) can only listen to port 80 and i cannot change this. Is it possible to configure Apache in a way that both servers could listen to port 80? Maybe with mod_rewrite and some directory tricks or something like that?

I know that Zope can be used with a Apache as frontend, but it is listeing to port 8080 like Tomcat.

Any ideas?

Thanks, Markus.

4:21 pm on Jan 1, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:July 18, 2006
votes: 0

A listening port cannot be shared. What you could do, though, is have one server operate as a proxy for the other. Since you say the Frontier server must use port 80, you'd have to set that one up to route requests to Apache, which would have to be listening on a different port, such as 8080.

I don't know how you'd set up the Frontier server as a proxy, though. Are you sure it'll only run on port 80? The Frontier documentation talks about a setting "user.inetd.config.http.port" which you can use to specify the port it listens on. If that works, it'd be simple to set up the Apache server to act as a proxy instead, using mod_proxy.

5:04 pm on Jan 1, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 6, 2006
votes: 0

Well, you can probably do it if you have two unique IP's for that server, so that you you two different IP:Port combos

# On server 1

# On server 2, if it's apache based

hope that helps



Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members