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
Jochem3y 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
! nierOP3y ago
Can you explain me how to do that?
Jochem
Jochem3y ago
It really depends on what you're using to host, and what operating system you're using
! nier
! nierOP3y 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
Jochem3y 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
! nierOP3y ago
On mobile chrome it tells me "the site cannot provide a perfect connection"
Jochem
Jochem3y 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
! nierOP3y 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
Jochem3y ago
! nier
! nierOP3y ago
Oh that was actually it, my fault. Thanks for your help!
Jochem
Jochem3y ago
no worries, glad you got it to work!

Did you find this page helpful?