I have been trying to remotely debug my application. My application is on remote linux server. I am not sure what's the debug port of application on that server. I tried almost every port I could think of but the host server refuses to connect.
How do I approach this? Should I try to find the debug port? If yes, how do I do it. Is there any command to open or set or find it on the server. I tried searching through questions and everything. I did not find anything that could resolve my problem. Whatever I try, the host still refuses to connect.