Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a web server for HTML and Flash and a COMET server. Only the Flash stuff will ever talk to the COMET server.

I'm considering running both server on the same machine. If I would do so, I would have to use different ports for each server: 80 for the web server, something else for the COMET server (I think using the web server as reverse proxy would not play very well with COMET).

What would be the consequences of running the COMET server on a port != 80?

I'm particularly concerned about people behind firewalls. Do you know of people or organizations that block outgoing connections other than 80? Is this common? Besides that, will the use of an alternate port for HTTP cause other complications that I am not aware of?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

yes - i do know quite a few organizations that have strict [ and stupid.. ] access rules, besides applying content control on the proxy level they also do not allow traffic to non-standard ports.

this is both education institutions and companies.

maybe you can put on port 80 lighttpd or nginx as a reverse proxy and then locally run your appserv [ apache or anything else on one port, comet on another and have proxy redirect requests to appropriate application ]. i believe those two proxies will play much nicer with COMET than typical web server [ like apache ] would.

btw - look here.

share|improve this answer
    
Wow, thanks for the link, sounds promising. I use lighttpd, BTW. –  Ludwig Weinzierl Nov 12 '09 at 23:18

It is possible to run several servers on the same port and machine. Just add a extra IP-address for every server and let them listen on the different IPs.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.