Local Host on Mobile

I tried with my network IP and the port of the server but it doesn't seem to work
11 Replies
Jochem
Jochem2y ago
you'll have to make sure that whatever is running your server is listening on your PC's IP rather than localhost, and that the firewall on the PC is allowing traffic through
! nier
! nierOP2y ago
Can you explain me how to do that?
Jochem
Jochem2y ago
It really depends on what you're using to host, and what operating system you're using
! nier
! nierOP2y ago
I'm using live server vscode extension on win11. The issue I'm facing is that the connection can't be secure but in the extension settings I have https option set to false
Jochem
Jochem2y ago
I'm not sure what you mean by this
the connection can't be secure but in the extension settings I have https option set to false
! nier
! nierOP2y ago
On mobile chrome it tells me "the site cannot provide a perfect connection"
Jochem
Jochem2y ago
hm, if you can't click "proceed" somewhere, you'll have to set up https for the live server extension, but then you might have issues with certificate signing
! nier
! nierOP2y ago
I can just update the page but it doesn't work Maybe I should use a different host? I tried installing node but I couldn't manage to
Jochem
Jochem2y ago
! nier
! nierOP2y ago
Oh that was actually it, my fault. Thanks for your help!
Jochem
Jochem2y ago
no worries, glad you got it to work!

Did you find this page helpful?