Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I already have a program running on port 80. Another program that I want to use, also runs on port 80. Is there another alternative port that can be used so that they can be run at the same time?

share|improve this question
    
What programs? I commonly see this with skype and apache. If that's what your situation is, start apache first, then skype. –  Force Flow Dec 1 '10 at 3:38

3 Answers 3

you can run a netstat command from a command line - try something like

netstat -an |find /i "listening"

share|improve this answer

Port 8080 is an official alternative port to port 80. So if it is not already in use, it would be a good one to use.

http-alt    8080/tcp    HTTP Alternate (see port 80)
http-alt    8080/udp    HTTP Alternate (see port 80)

To see what ports are currently in use, I would use the netstat -a command to look for connections in the LISTENING state

share|improve this answer

If the app (and the client/server it connects to) allows you to change the port you are good, else you might need to try some kind of port forwarding.

share|improve this answer
    
Great, because they both do actually. But now, how do I find out what other ports are available and which ones I can use? –  Amy Dec 1 '10 at 1:19
1  
If you randomly choose a port, you will most likely get an open. Did you try port 8080? thats another default for http traffic, which should like what you are doing –  thegreyspot Dec 1 '10 at 2:00

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.