local network with --experimental-https
Unanswered
Britannia Petite posted this in #help-forum
Britannia PetiteOP
Hi, I'm trying to check my next.js app through local network, if I go to http://[myIP]:3000 I can access it, but as soon as I put the flag "--experimental-https" (next dev --experimental-https) I can't access my app on my local network (with https://[myIP]:3000
7 Replies
Isnt the URL supposed to be
https://[yourApp]:3000
with the flag? (https
instead of http
)Britannia PetiteOP
yeah of course I mean when Im using http without the flag it works but with the flag AND https it doesn't work
edited my inital post
Might not be really realated, but which browser are you using. I'm asking as previously I've had trouble with chrome when going back from "with the flag" to "without the flag" and turned out to be a strange chrome cookie which redirects all the trafic from http to https. In your case it might be that this cookie is not set
Britannia PetiteOP
safari and on my iOS device and also android TV browser
I'm afraid I can't really help further. Best of luck :\
It was an HSTS configuration which was automatically added to my chrome flags after enabling the flag. Might be something similar for your browser stack