Install nc if needed
yum install nc
Run listener on port 3000
nc -l 3000 & nc -l -k 3000 &
where -k is –keep-open will keep connection opened and allows multiple connections in listen mode
Check on the server’s side:
netstat -tunap |grep :3000
Output:
tcp 0 0 0.0.0.0:3000 0.0.0.0:* LISTEN 82786/nc
Check from local machine:
$ nmap -p 3000 SERVERS_IP_ADDRESS
Output:
Starting Nmap 7.01 ( https://nmap.org ) at 2018-01-15 18:46 EET Nmap scan report for my-cloud-host.net Host is up (0.14s latency). PORT STATE SERVICE 3000/tcp open ppp Nmap done: 1 IP address (1 host up) scanned in 0.36 seconds
Remove listener:
fg Ctrl + C
Done!
Спасибо
working here..
Will try, thank you
I just want to say thank you for this great website. I found a solution here on alltime.pp.ua for my issue.