![]() ![]() ![]() It's not that likely that you'll get hit by this, but it's a hard problem to debug when it happens. There is an argument that you don't want to pick something too high as you may conflict with the range used for ephemeral ports.(You can always default to your chosen value if the configuration file doesn't exist.) The ability to change port number can also be helpful for getting through firewalls without having to get them reconfigured. Some other product may have picked the same port as you and you never know when you'll have to co-exist on a server, so put the port number in a configuration file somewhere so it can be changed without a recompile if necessary. Don't fix the port number in your code.Pick a port number that is easy to remember.Look at the IANA list and pick a port that's not in use.I think you've pretty much answered your question as much as is possible there isn't really a strict rule you can follow here beyond what you've said. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |