I have installed Ubuntu in my Android phone and I can access its GUI in my phone by connecting a VNC viewer to localhost:1. The VNC server is running inside Android.

Is it possible to access this in a computer connected to the wifi hotspot of the phone?

I connected to computer to the phone's hotspot and tried to access locahost:1 in Real VNC Viewer, but it says "The connection was refused by the remote computer".

Please note that I am not trying to access vnc server running in another computer in my phone but the opposite.

  • How are you running this VNC server on Android? – unixandria Jun 24 '19 at 2:02
  • Yes, I updated the question – Archisman Panigrahi Jun 24 '19 at 4:12

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.