Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
1.2 kB
2
Indexable
Never
ubuntu@ip-172-20-5-56:~$ nc -l -p 8080
nc: Address already in use
ubuntu@ip-172-20-5-56:~$ sudo netstat -tulpn | grep LISTEN
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      333/systemd-resolve 
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      878/sshd: /usr/sbin 
tcp6       0      0 :::8080                 :::*                    LISTEN      1035/java           
tcp6       0      0 :::22                   :::*                    LISTEN      878/sshd: /usr/sbin 
ubuntu@ip-172-20-5-56:~$ nc -l -p 8080
nc: Address already in use
ubuntu@ip-172-20-5-56:~$ 
ubuntu@ip-172-20-5-56:~$ 
ubuntu@ip-172-20-5-56:~$ 
ubuntu@ip-172-20-5-56:~$ nc -4 -l 8080
nc: Address already in use
ubuntu@ip-172-20-5-56:~$ sudo netstat -tulpn | grep LISTEN
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      333/systemd-resolve 
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      878/sshd: /usr/sbin 
tcp6       0      0 :::8080                 :::*                    LISTEN      1035/java           
tcp6       0      0 :::22                   :::*                    LISTEN      878/sshd: /usr/sbin 
ubuntu@ip-172-20-5-56:~$