PyDev.Debugger
PyDev.Debugger copied to clipboard
Set the port of the remote running hpc machine when remote debugging
Currently, I'm doing remote debugging on hpc computing nodes, and the available ports of hpc machines are limited by our school. To be specific, the limited ports available are 80 and 443. In fact, I need to make sure the remote debugging process is conducted by sending sockets from port 80 or 443 on remote machines, and the destination is my host ip and host port, which can be set by pydevd_pycharm.settrace(File "/***(my name)/anaconda3/envs/edge/lib/python3.8/site-packages/_pydevd_bundle/pydevd_comm.py", line 458, in start_client s.connect((host, port)) OSError: [Errno 101] Network is unreachable
So I guess this results from incorrect port setting of hpc computing nodes, but I can not find document of setting the remote port or finding what is the default port remote machines use when remote debugging. Thus, help is needed.
On remote hpc nodes, 80 and 443 ports are available which could be validated by "curl baidu.com" and the curl result is fine.