vnc port forwarding
Zahid Rahman
zahidr1000 at gmail.com
Tue Nov 2 18:24:48 UTC 2021
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/11b1aca6/attachment.html>
More information about the ubuntu-users
mailing list