[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 151
  • Last Modified:

listening on the same port - what happens?


I'm using an opensource library which lets you listen on a port of your choice for an image transfer protocol. I don't know any of the lower level details.

Administrators usually keep port 80 open (this is the http port right?) - is it possible to have an application listen on port 80? I don't know much about this but I would imagine the app expecting stuff based on this special image transfer protocol would get confused about stuff it was getting from web requests of some sort... anyway just some general info would be great,

1 Solution
>>is it possible to have an application listen on port 80?

Yes, but only if there is no other listener on that port so far. So, unless you are running a proxy or a web server on that machine, you should be fine.
DJ_AM_JuiceboxAuthor Commented:
You can however pick any port freely in the 49152 - 65535 range, and use that. These are ports you can use without an IANA registration, and they are unlikely to clash with an already open port.

80 is indeed the standard port for HTTP. So, unless you're gonna use the HTTP protocol, it's not advised (although entirely possible) to use port 80.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now