PDA

View Full Version : Nexus 6p VNC manager issue cannot access from PC



Rowertwins
2019-02-03, 15:05
Device : Huawei Nexus 6P
OS version -Nougat 7.1.1
cat /proc/version - Linux version 3.10.73-nethunter-angler-1.1(jc@westerley) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)


i get connection refused by the computer in real vnc viewer when i try to create a remote desktop connection from my windows 10 pro computer to my nethunter device, however it works fine locally when i vnc within my nethunter device.
here is what i did


i open up vnc manager on my nethunter IP :127.0.0.1, Port - 5901.
press start local server, its asks for password on nethunter terminal i enter 8 digit password
i open kali nethunter terminal & type vncserver -localhost
i open bVNC and access nethunter without any issue



how can i fix this issue?

Regards
skorpinok

CurioCT
2019-08-11, 19:00
Device : Huawei Nexus 6P
OS version -Nougat 7.1.1
cat /proc/version - Linux version 3.10.73-nethunter-angler-1.1(jc@westerley) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)


i get connection refused by the computer in real vnc viewer when i try to create a remote desktop connection from my windows 10 pro computer to my nethunter device, however it works fine locally when i vnc within my nethunter device.
here is what i did


i open up vnc manager on my nethunter IP :127.0.0.1, Port - 5901.
press start local server, its asks for password on nethunter terminal i enter 8 digit password
i open kali nethunter terminal & type vncserver -localhost
i open bVNC and access nethunter without any issue


how can i fix this issue?

Regards
skorpinok


Did you uncheck the box marked localhost only when you clicked server set up in the VNC manager?

cst3124
2019-09-25, 07:29
Device : Huawei Nexus 6P
OS version -Nougat 7.1.1
cat /proc/version - Linux version 3.10.73-nethunter-angler-1.1(jc@westerley) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)


i get connection refused by the computer in real vnc viewer when i try to create a remote desktop connection from my windows 10 pro computer to my nethunter device, however it works fine locally when i vnc within my nethunter device.
here is what i did


i open up vnc manager on my nethunter IP :127.0.0.1, Port - 5901.
press start local server, its asks for password on nethunter terminal i enter 8 digit password
i open kali nethunter terminal & type vncserver -localhost
i open bVNC and access nethunter without any issue


how can i fix this issue?

Regards
skorpinok

1. both are in same wifi LAN
2. start cnc
3. ifconfig and check wlan0 ip, normally is 192.x.x.x
4. in pc, use the 192.x.x.x:5901 to connect to your nethunter vnc
5. done

IOT2Z
2020-07-24, 22:05
I did the following to resolve "connection refused"

nmap -p 5900-5910 192.168.0.xx

PORT STATE SERVICE
5900/tcp closed vnc
5901/tcp closed vnc-1
5902/tcp open vnc-2
5904/tcp closed vnc-3
5905/tcp closed unknown
etc

Using VNC viewer entered
192.168.0.xx:5902

And it worked!!!

The question is why didn't 5901 work? What is 5902?