You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using this config, starting vite with or without --host will always use all ips. our machines have many nic's but we only want vite to listen on a single address.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
starting vite with or without --host will always use all ips. our machines have many nic's but we only want vite to listen on a single address.
If you start with --host, that will override the server.host as true and Vite will listen to all the IPs. But if you start without --host, Vite will only listen to 172.16.0.227. It seems Vite also shows all the IPs in that case though.
Describe the bug
vite --host will always use all available nic ip's, no matter what. unable to specifiy a single listen ip.
Reproduction
Steps to reproduce
using this config, starting vite with or without --host will always use all ips. our machines have many nic's but we only want vite to listen on a single address.
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: