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

Default server port not correct - two ports are relevant #23

Open
aylward opened this issue Feb 26, 2020 · 0 comments
Open

Default server port not correct - two ports are relevant #23

aylward opened this issue Feb 26, 2020 · 0 comments

Comments

@aylward
Copy link
Member

aylward commented Feb 26, 2020

Lines 59 and 60 of server.py are incorrect:

wsurl = 'ws://{host}:{port}/ws'.format(host=host, port=port)

There are two ports that need to be recorded and reported to start the web and compute servers. The http:localhost:{port} that is running the webserver hosting the paraviewglance webpage and the ws:{port} that hosts the paraview server. Via lines 59 and 60, the program reports:

C:\src\ParaView-Glance-Py\server>python server.py --port 8181 --no-browser
Namespace(host='localhost', no_browser=True, port='8181')
If the browser doesn't open, navigate to: http://localhost:8181/?wsServer=ws://localhost:8181/ws
wslink: Starting factory
CRITICAL:twisted:wslink: Starting factory

This is wrong. The first instance of {port} should be 9999, in this case. The 8181 port is correct.

Hope this helps,
s

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