-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
a problem related to the vite server port #5241
Comments
Not necessarily a critical bug. The problem here is that Vite chooses to display Take my network environment as an example (may not be very accurate, I'm not a network expert):
|
So the solution could be either of the following:
|
This problem is solved,set
|
@sodatea This issues should closed |
Describe the bug
a new vite app: default port is 3000
my koa server: this port is also 3000
when I start vite app and then start koa server OR start koa server and then start vite app, no indication of port conflict.
And I use Google Chrome to access the page 127.0.0.1:3000, the page display content about the latter server content.
Reproduction
This question reminds me of PM2——master-slave mode, but vite didn't handle it well. I try to read the vite's source code, but I am worried about misunderstanding, so come here to issue. If this is a problem, can you provide solutions or fix it as soon as possible?
thanks.
System Info
Used Package Manager
npm
Logs
Validations
The text was updated successfully, but these errors were encountered: