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

Changing the Port of the Web Server #68

Open
BeneLuWi opened this issue Mar 10, 2022 · 1 comment
Open

Changing the Port of the Web Server #68

BeneLuWi opened this issue Mar 10, 2022 · 1 comment

Comments

@BeneLuWi
Copy link

Changing the port of the web server as described in https://repast.github.io/docs/RepastNG/browser.html does not affect the frontend, so the connection to the web socket fails.

It appears, that the port is hardcoded. See https://github.com/Repast/repast.simphony/blob/master/repast.simphony.server/web/static/js/client.js#L187

@ncollier
Copy link
Member

Thanks for reporting this bug. As a workaround, you can change the port in the javascript itself. On MacOS, that would be in

/Applications/Repast Simphony 2.9.0/Eclipse.app/Contents/Eclipse/plugins/repast.simphony.server_2.9.0/web/static/js/client.js on line 187.

As a test I changed the port to 5050 there and in the Eclipse launcher as mentioned in the docs, and it worked as expected. In the meantime, we will look into how to best to add port etc. configuration to the server.

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