Replies: 2 comments 2 replies
-
i get the same problem, did you fix it? |
Beta Was this translation helpful? Give feedback.
2 replies
-
if anyone else runs into this issue and ends up here before finding the correct chain of words to google, here's how to fix this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I'm trying to access dev server from another device that is in the same network (I've also tried to build & preview with --host flag).
Let's say I run the following command:
yarn preview --host --port 3005
. Accessing the app by opening http://localhost:3005 works fine; accessing it through http://192.168.31.28:3005/ from any device (including the one on which the server is running) is always giving me trouble.Looks like index.html file is read correctly, but anything it is trying to load - styles, js code, favicon - it can't due to
net::ERR_SSL_PROTOCOL_ERROR
. Here is a screenshot from Dev Tools:I'm pretty sure that I'm missing something simple, but cannot figure it out. Any clues?
I'm attaching my `build/index.html` file:
and vite.config.js:
Beta Was this translation helpful? Give feedback.
All reactions