How should one go about choosing a default TCP/IP port for a new service?

前端 未结 12 1449
刺人心
刺人心 2020-12-07 23:55

When developing an app that will listen on a TCP/IP port, how should one go about selecting a default port? Assume that this app will be installed on many computers, and th

12条回答
  •  失恋的感觉
    2020-12-08 00:11

    Well, you can reference some commonly used port numbers here and try not to use anyone else's.

    If by "open to the public at large" you mean you're opening ports on your own systems, I'd have a chat with your system administrators about which ports they feel comfortable with doing that with.

提交回复
热议问题