Question
What role does a firewall play in a 'Connection Refused' error with PuTTY?
Asked by: USER6889
74 Viewed
74 Answers
Responsive Ad After Question
Answer (74)
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.