Jump to content

which tcp port to use?


cbodapati

Recommended Posts

Hi,

 

I wrote a small tcp test server (in php) to process some custom messages. I am not sure which port to open. What are the factors I should consider before finalizing a port number. Does this invite any security threats?

 

Where can I find answers to these questions?

 

any help appreciated.

 

thanks

Link to comment
Share on other sites

Look for a list of commonly-used ports and avoid using anything that something common would use. It will probably be a 5-digit port.

Does this invite any security threats?

Open ports in general have security implications, but not so much the specific port number. The security is all in your application that handles the traffic.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...