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

webpack-dev-server - wrong hostname and port #8

Open
steven-pribilinskiy opened this issue Mar 5, 2018 · 1 comment
Open

webpack-dev-server - wrong hostname and port #8

steven-pribilinskiy opened this issue Mar 5, 2018 · 1 comment

Comments

@steven-pribilinskiy
Copy link

Our webpack-dev-server is configured to listen on port 8081 but the __open-in-editor route is initiated on 8888 which is the port used by nginx and Symfony framework

image

Hence there's a 404 Not Found response

image

image

Please fix so that the middleware will reuse the port specified for webpack-dev-server. Here we launch it with webpack-dev-server --hot --port 8081

@sailingdeveloper
Copy link

I have the same with a Laravel application. Laravel mix runs hot on localhost:8080 but it tries to open it at the domain it's currently at, whatever.test/__open-in-editor.

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

No branches or pull requests

2 participants