What is the actual Issue?
When connecting to the remote server using putty facing connection refused error. This means that you are not allowed to connect in that manner to the targeted server. For Example, either the port is not allowed/correct, the connection type (telnet, SSH, SFTP, etc) or the IP you want to connect from maybe not allowed in the server’s configuration. Sometimes your local IP is blocked and that causes this issue. You can contact the support team to resolve this issue
Why has this issue has occurred?
This problem may be due to any one of the following problem with HostingRaja VPS or cloud.
Incorrect SSH Credentials: The login details like IP Address, Port Number, Password, Connection type, Username needs to be filled up during connecting via putty. If any details among these are invalid you will not be able to connect to the remote server of HostingRaja.
IP Block: When you are trying to connect HostingRaja VPS or Cloud server using ssh multiple times with incorrect passwords, our Firewall will block your public IP for the security purpose. The Firewall will analyze the connection request in such a manner that some unknown user is trying to access the server to add malware or to modify the data present on the server.
Server Down: When the server is down due to hardware failure or high RAM Usage you are not allowed to make a connection to the server.
SSH service stopped: SSH Service will get stopped due to high CPU usage or if the service is not present or the service got uninstalled in the server.
How can we prevent it?
Follow any one of the following steps to prevent the problem which is mentioned above:
Solution 1: You need to open the putty application and select the connection type option as SSH, next enter the proper Hostname or IP address which is provided by HostingRaja along with port number as 22 and press on Open. Now it will as for username enter the appropriate username, For example, root and enter the correct password it will start connecting to the HostingRaja server, now you can perform the actions that you want to do on the server end. In the URL that represents your control panel, the hostname or Ip address can be configured. Having the hostname should be the better option though.
Solution 2: When you are trying to connect HostingRaja Virtual Private Server make sure that the details you have entered on putty are correct If you proceed further with incorrect login details multiple times you are treated as an unauthorized user and your public IP will get blocked from the firewall. Then you need to contact HostingRaja Support Desk to unblock your public IP. It is also possible to unblock public IP using our module named CSF in the HR Panel, there is one option named config server firewall and enter your public IP under quick allow. The virtual private server can be visualized by a huge server that is divided into the number of parts, wherein all the parts are capable of individual configuration. you can reboot a VPS without affecting the other and you will be provided with the root access with this kind of hosting services.
Solution 3: When HostingRaja VPS or Cloud server got stopped you are not allowed to log in to the server even though you have written proper login details, this may be due to high CPU usage, hardware in the server got corrupted. In such cases you need to contact our support team for rebooting the server, this will solve your connectivity problem.
You can check whether the server is down or not using the command
ping your_ip_address or ping your_domain_name
If it is active you will get the output as follows:
$ ping google.com
PING google.com (126.96.36.199) 56(84) bytes of data.
64 bytes from maa03s26-in-f14.1e100.net (188.8.131.52): icmp_seq=1 ttl=56 time=8.39 ms
64 bytes from maa03s26-in-f14.1e100.net (184.108.40.206): icmp_seq=2 ttl=56 time=6.96 ms
64 bytes from maa03s26-in-f14.1e100.net (220.127.116.11): icmp_seq=3 ttl=56 time=7.05 ms
64 bytes from maa03s26-in-f14.1e100.net (18.104.22.168): icmp_seq=4 ttl=56 time=7.20 ms
--- google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3002ms
rtt min/avg/max/mdev = 6.961/7.405/8.394/0.586 ms
When the ping command is unsuccessful then the ping results in screen will display an error message like 100% packet loss or Packets are rejected or Packets did not reach the host.
Solution 4: If SSH service is not found on the server or it is stopped due to high RAM consumption or it is uninstalled from the server will result in ssh connectivity error. Contact our support team and make sure that ssh service is present in the server and running successfully without any error.
It is also possible to change your ssh passwords once you log in to the server using the below command:
Next, it will ask for a new password to enter, once a new password is entered it will ask to re-enter the password, once you are done with it try to log in using the new password.
Note: Don't share the SSH Login credentials with anyone if you want to reset it kindly contact us. Sharing Login Credentials with the unknown user will cause code modifications and data loss
If you are still facing any issue while login through putty, feel free to contact our support team via live chat, email, toll-free or ticket system and our support team are available 24/7.