Skip to content

Conversation

@parthakadam2007
Copy link

What kind of change does this PR introduce?

Chore (logging improvement for WSL environment)

What is the current behavior?

When running the server on WSL, the logs incorrectly show:
Server is running on http://0.0.0.0:1337
even when the server is actually running on:
http://localhost:1338

What is the new behavior?

Updated logging to correctly detect and display the active host and port on WSL.
Now the console prints the correct URL, improving developer experience when running locally on WSL.
Server listening on http://localhost:1338
Feel free to include screenshots if it includes visual changes.

Additional context

This PR updates src/server/utils.ts to handle environment-specific logging and ensure accurate server address reporting.
Tested on WSL Ubuntu and confirmed working.
Add any other context or screenshots.

@parthakadam2007 parthakadam2007 changed the title Chore/server log wsl chore: server log wsl Nov 16, 2025
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

Successfully merging this pull request may close these issues.

1 participant