How to access VNC server running in an android phone in another computer?
Go to Setting > About Phone and note down the ip address of your mobile phone.

Now connect to the Wifi hotspot of your mobile phone. In the VNC viewer, connect to the address ip-address-of-mobile-phone:1, to access the localhost:1 of the mobile phone.