vnc port forwarding
Zahid Rahman
zahidr1000 at gmail.com
Tue Nov 2 18:29:37 UTC 2021
ubuntu at ubuntu:~$ sudo ufw status
Status: active
To Action From
-- ------ ----
22 ALLOW Anywhere
5901 ALLOW Anywhere
80 ALLOW Anywhere
443 ALLOW Anywhere
6000:6007/tcp ALLOW Anywhere
6000:6007/udp ALLOW Anywhere
5902 ALLOW Anywhere
5903 ALLOW Anywhere
5904 ALLOW Anywhere
5905 ALLOW Anywhere
Samba ALLOW Anywhere
5900 ALLOW Anywhere
5900/tcp ALLOW Anywhere
5900/udp ALLOW Anywhere
22 (v6) ALLOW Anywhere (v6)
5901 (v6) ALLOW Anywhere (v6)
80 (v6) ALLOW Anywhere (v6)
443 (v6) ALLOW Anywhere (v6)
6000:6007/tcp (v6) ALLOW Anywhere (v6)
6000:6007/udp (v6) ALLOW Anywhere (v6)
5902 (v6) ALLOW Anywhere (v6)
5903 (v6) ALLOW Anywhere (v6)
5904 (v6) ALLOW Anywhere (v6)
5905 (v6) ALLOW Anywhere (v6)
Samba (v6) ALLOW Anywhere (v6)
5900 (v6) ALLOW Anywhere (v6)
On Tue, 2 Nov 2021, 6:24 pm Zahid Rahman, <zahidr1000 at gmail.com> wrote:
>
> ubuntu at ubuntu:~$ sudo lsof -i:22
> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
> sshd 2447 root 3u IPv4 42579 0t0 TCP *:ssh (LISTEN)
> sshd 2447 root 4u IPv6 42581 0t0 TCP *:ssh (LISTEN)
> sshd 6699 root 4u IPv4 225849 0t0 TCP
> ubuntu:ssh->_gateway:47082 (ESTABLISHED)
> sshd 6769 ubuntu 4u IPv4 225849 0t0 TCP
> ubuntu:ssh->_gateway:47082 (ESTABLISHED)
> ubuntu at ubuntu:~$ sudo lsof -i:5900
> ubuntu at ubuntu:~$
>
>
> On Tue, 2 Nov 2021, 5:51 pm Colin Law, <clanlaw at gmail.com> wrote:
>
>> On Tue, 2 Nov 2021 at 17:36, Zahid Rahman <zahidr1000 at gmail.com> wrote:
>> >
>> > Sorry I tried this earlier. sudo lsof -i:5900
>> >
>> > I get nothing. No error message,
>> > just goes to a new terminal prompt .
>>
>> Then port 5900 is not open on the machine. To check it is the right
>> command try
>> sudo lsof -i:22
>>
>>
>> Colin
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20211102/bae45137/attachment.html>
More information about the ubuntu-users
mailing list