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

Change development server port to 8080 #310

Open
juagargi opened this issue Oct 6, 2020 · 1 comment
Open

Change development server port to 8080 #310

juagargi opened this issue Oct 6, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@juagargi
Copy link
Member

juagargi commented Oct 6, 2020

Our development server is located at

SCIONLAB_SITE = 'http://localhost:8000'

(That variable is used when generating the call to the scionlab-config script).

Unfortunately this clashes with the Vagrantfile we deploy for user ASes, due to the port redirection:

config.vm.network "forwarded_port", guest: 8000, host: 8000, protocol: "tcp"

This situation forces us to edit the Vagrantfile to remove or edit that line.

Changing the setting to have the development server somewhere else would remove this small inconvenience.

@juagargi juagargi added enhancement New feature or request good first issue Good for newcomers labels Oct 6, 2020
@juagargi juagargi self-assigned this Oct 6, 2020
@juagargi
Copy link
Member Author

juagargi commented Oct 6, 2020

This is actually more complicated that I thought: there is no easy way to set the reverse port forwarding while provisioning the VM. This is unfortunate, because in development, we would like to connect to our coordinator running locally in our host machine, from the guest VM.

For future reference:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant