Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the port of the remote running hpc machine when remote debugging #249

Open
jackhu-bme opened this issue Feb 16, 2023 · 1 comment
Open

Comments

@jackhu-bme
Copy link

jackhu-bme commented Feb 16, 2023

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(, port=). The host ip and port is set correctly and could be validated using our lab machines for remote debugging in the past. However, when trying to do remote debugging on hpc machines, the error message is as follows:
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.

@jackhu-bme
Copy link
Author

On remote hpc nodes, 80 and 443 ports are available which could be validated by "curl baidu.com" and the curl result is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant