Can ping but connection refused?

Bảo Vy

Member
Can ping but connection refused?
Answer
If it says Connection refused , it is likely that the other host is reachable, but there is nothing listening on the port. If there is no response (packet is dropped), it is likely a filter blocking the connection. on both hosts. You can remove all (input) rules with iptables -F INPUT .
Photo in the article by “Wikipedia”
Code:
https://en.wikipedia.org/wiki/File:Photo_of_Magnolia_Market,_Waco,_TX.jpg
Type sudo apt-get install openssh-server.
Enable the ssh service by typing sudo systemctl enable ssh.
Start the ssh service by typing sudo systemctl start ssh.
Test it by login into the system using ssh
[email protected]
 

Tìm kiếm

Back
Top