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

Running pong from a remote server #16

Closed
miramastoras opened this issue Apr 8, 2020 · 3 comments
Closed

Running pong from a remote server #16

miramastoras opened this issue Apr 8, 2020 · 3 comments

Comments

@miramastoras
Copy link

I would like to run pong from my lab's remote HPCC cluster server, but it appears that pong is not able to create the Tornado web connection when I run it from the remote server (at least, the http://localhost:4000 address doesn't work when I open my browser, and the command stalls after telling me to open the web browser). Do you have any guidance on running pong through a remote server, or is our only option to disable the Tornado instance using --disable_server and use -v to generate files for DISTRUCT?

Thank you very much for your help.

@abehr
Copy link
Member

abehr commented Apr 9, 2020

Hi Mira - Remote hosting isn't officially supported, but we are looking into adding it in a future release. Meanwhile, check out this PR, which may be of use to you.

@miramastoras
Copy link
Author

miramastoras commented Apr 10, 2020

Hi Aaron,

Thank you for your reply. I actually spoke to a colleague who pointed me to this port forwarding workaround for running on a remote server and I was able to get it to work:

ssh -N -L 4000:localhost:4000 <remote cluster>

I ran the command on my terminal, left it hanging, and then opened up a new tab and logged into the cluster and ran pong. This command setup port forwarding from my laptop’s port 4000 to the remote cluster’s port 4000.

@abehr
Copy link
Member

abehr commented Apr 11, 2020

That's a great workaround - thanks for sharing!

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

2 participants