![]() The Port You’re Trying to Use Is ClosedĪ “port” is simply the endpoint to which you’re directed when connecting to your server. Join 20,000+ others who get our weekly newsletter with insider WordPress tips! Want to know how we increased our traffic over 1000%? The command line should return the correct port.Ĭheck to make sure you’re entering the right credentials and taking into account the possibility of typos or entering the wrong IP address or port. You can also check to see which port is being used for SSH by running this command: grep Port /etc/ssh/sshd_config If this is the case, you should be able to find it by logging in to your MyKinsta dashboard. However, some hosting providers (including Kinsta) change their SSH port number for security reasons. The IP address of the server you’re trying to connect to or your domain name. There are four pieces of information needed to run SSH: You Have the Wrong CredentialsĪlthough it may seem too simple to be true, it’s possible that you’re just entering the wrong credentials when trying to connect to your server. Kinsta is developer-friendly and offers SSH access on all of its hosting plans. ![]() If the command line returns a status of down, then you’ve likely found the reason behind your connectivity error. If you suspect that your SSH service might be down, you can run this command to find out: sudo service ssh status In addition to the troubleshooting steps we’ll mention below, you may want to contact your hosting provider to determine the root cause of the issue. Your server’s SSH daemon may be down for a wide variety of reasons, including unexpected traffic spikes, resource outages, or even a Distributed Denial of Service (DDoS) attack. If this service is down, you will not be able to successfully connect to your server and may receive a Connection refused error: Connection Refused error in Terminal In order to connect to your server with SSH, it must be running an SSH daemon – a program that runs in the background to listen for and accept connections. Unfortunately, there are many scenarios that could occur while you’re trying to connect to your server via SSH, which might result in an error reading “Connection refused”.īelow are some of the most common issues that might be causing problems for you. Why Is My SSH Connection Refused? (5 Reasons for Connectivity Errors) ImportantĪ simple mistyped command could ruin your website, so it’s vital that you know what you’re doing. Generally speaking, lay users of WordPress should contact their developers or hosting providers for help, rather than trying to resolve issues with SSH themselves. It’s important to note that using SSH is an advanced skill. Note: Kinsta customers will need an Enterprise plan in order to access this feature. It includes a command-line and JavaScript software registry. This is especially useful for teams of developers working together on a single project. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |