how to change localhost number?
hello uh so I'm using termux and I downloaded 2 distros,(one Ubuntu and one Kali) now the Ubuntu one is fine however both Kali and Ubuntu distros use the same localhost display number(both are localhost:1 which is gonna cause one of them to stop working and I use RealVNC) so is it possible to change the Kali localhost to another one like localhost:2?
7 Replies
You can't change the localhost address space, its a predefined standard.
127.0.0.1
to 127.255.255.254
in IPv4
and ::1
in IPv6.
What you are talking about is the VNC Port, which is set either in your VNC config,
or as a commandline option to the VNC server on startup.
It should also be noted that ports below 1024 are considered restricted,
and Android does not allow applications to use them.
VNC actually remaps the connection ports to start at 5901.So is it not possible to set a port to 5902?
welp
It is, you just gotta change it in the config or pass it as an option to the command
Hold on which config is it
Vncconfig or tigervncconfig
Whichever one you're using.
I have both of them
So
uh
Lemme try tiger
All VNC server I'm aware of default to Port 5900 and up.