how do i hide the network ip address in nextjs 15
Answered
Birman posted this in #help-forum
BirmanOP
How do i hide the network address
Answered by joulev
you can override the hostname
- next dev
+ next dev --hostname localhost
8 Replies
@Birman How do i hide the network address
Umm, why do you want to do that?
You can't do that
BirmanOP
Uh because there are many instances i dont want to show my ip while sharing my screen or something
IIRC that’s the local IP address, only people also connected to the same wifi network can access that. So you could show the address to me right here right now and I won’t be able to do anything
@Birman Uh because there are many instances i dont want to show my ip while sharing my screen or something
That is.
Even I know it starts with 192.168
Even I know it starts with 192.168
BirmanOP
I know that i just wanted to know if there is a option to turn it off
@Birman I know that i just wanted to know if there is a option to turn it off
you can override the hostname
- next dev
+ next dev --hostname localhost
Answer