T
Termux9mo ago
Yasin'

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
TomIO
TomIO9mo ago
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.
Yasin'
Yasin'OP9mo ago
So is it not possible to set a port to 5902? welp
TomIO
TomIO9mo ago
It is, you just gotta change it in the config or pass it as an option to the command
Yasin'
Yasin'OP9mo ago
Hold on which config is it Vncconfig or tigervncconfig
TomIO
TomIO9mo ago
Whichever one you're using.
Yasin'
Yasin'OP9mo ago
I have both of them So uh Lemme try tiger
TomIO
TomIO9mo ago
All VNC server I'm aware of default to Port 5900 and up.
Want results from more Discord servers?
Add your server