What role does a firewall play in a 'Connection Refused' error with PuTTY?

Responsive Ad Header

Question

Grade: Education Subject: Support
What role does a firewall play in a 'Connection Refused' error with PuTTY?
Asked by:
74 Viewed 74 Answers
Responsive Ad After Question

Answer (74)

Best Answer
(279)
A firewall on the remote server might be configured to block incoming connections on the SSH port (default 22). You need to configure the firewall (e.g., `ufw` on Ubuntu, `firewalld` on CentOS/RHEL, Windows Firewall) to allow traffic on that port from your IP address or network.