Skip to content

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

Open
@aylward

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions