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

HOST and PORT are ignored #704

Open
joseba4242 opened this issue Feb 20, 2025 · 1 comment
Open

HOST and PORT are ignored #704

joseba4242 opened this issue Feb 20, 2025 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@joseba4242
Copy link

Describe the bug.

The HOST and PORT environment variables don't take effect; instead it listens on port 5173.

Reproduction

When running

~/qryn-view$ PORT=3001 pnpm dev &

the output is:

@ui/main:dev:   VITE v5.4.11  ready in 1283 ms
@ui/main:dev:
@ui/main:dev:   ➜  Local:   https://localhost:5173/
@ui/main:dev:   ➜  Network: use --host to expose
@ui/main:dev:   ➜  press h + enter to show help

Looking at the open ports confirms this:

~# lsof -i | fgrep node
node      2070759              user   35u  IPv4 24205877      0t0  TCP localhost:5173 (LISTEN)

Host and port can be given with CLI flags but that's not what README suggests: pnpm dev -- --host 10.0.0.152 --port 3001

For the same reason, the default port it listens to is 5173, not 8080 as documented.

Application version

3.5.3

Browser version

na

Logs


Anything else?

No response

@joseba4242 joseba4242 added the bug Something isn't working label Feb 20, 2025
@jacovinus
Copy link
Collaborator

jacovinus commented Feb 20, 2025

Good Morning @joseba4242, very appreciated your observation, we are doing the change at README file at next release.
your suggest is right.

@jacovinus jacovinus added documentation Improvements or additions to documentation and removed bug Something isn't working labels Feb 20, 2025
@jacovinus jacovinus self-assigned this Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants