Skip to content

Is this a bug? Vite showing 2 hosts when using --host. #9484

Answered by sapphi-red
veritymedia asked this question in Q&A
Discussion options

You must be logged in to vote

It's not a bug. Vite will show every IP of network interfaces there because Vite will listen to them.
The reason why one of them is non-functional is likely because something (like firewalls) are blocking the request. (Vite cannot detect whether the request was blocked)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@veritymedia
Comment options

@Ashkar2023
Comment options

Answer selected by veritymedia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants