How to custom tcp open port

dear sir how to open my custom TCP port