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

Chore: specify 8000 as port in launch.json #141

Merged
merged 1 commit into from
Sep 1, 2022
Merged

Conversation

angela-tran
Copy link
Member

@machikoyasuda and I noticed that when launching eligibility-server from the VS Code debugger, it was being served at 5000 instead of a dynamic port like it used to.

image

Looks like this started happening when the devcontainer's port was changed from 5000 to 8000.

This PR restores the old behavior by specifying in launch.json that 8000 should be the port for Flask to serve the app at (instead of the default 5000).

@angela-tran angela-tran added this to the Courtesy Cards milestone Aug 31, 2022
@angela-tran angela-tran self-assigned this Aug 31, 2022
@angela-tran angela-tran requested a review from a team as a code owner August 31, 2022 21:23
Copy link
Member

@machikoyasuda machikoyasuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

image

Confirmed localhost:8000 as a the port.

Copy link
Member

@thekaveman thekaveman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't seem to be a problem to add this setting.

I'll just note the change for serving from port 8000 only matters when running the application container served through nginx and gunicorn - for the VS Code / devcontainer use-case, the port can be whatever.

@angela-tran angela-tran merged commit 25db57b into main Sep 1, 2022
@angela-tran angela-tran deleted the chore/debug-port branch September 1, 2022 22:26
@angela-tran angela-tran mentioned this pull request Nov 14, 2022
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants