The following indicates that there was a networking error when attempting to connect:
Command: open "email@example.com" 2222 Error: ssh_init: Host not found Error: Could not connect to server'' Debugging connectivity issues
Services such as MySQL and SFTP are running; however, the local client is unable to connect due to an idled container or DNS issues. Before further troubleshooting, wake the environment by loading the home page or via the following Terminus command:
terminus env:wake site.env
env with your site name and the correct environment
Some ISPs have issues resolving a
drush.in hostname. Troubleshoot connection errors using the following
dig command, replacing
<xxx> with your site’s UUID:
dig codeserver.dev.<xxx>.drush.in +short
If there is no IP provided in the output, the default DNS server used for the query (typically configured by your ISP) has failed to recognize the hostname. Run the query again with an alternate DNS server specified, such as one of Google’s Public DNS IP Addresses:
dig @184.108.40.206 dig codeserver.dev.<xxx>.drush.in +short 192.317.200.218
If an IP address is returned, configure your network settings to use Google Public DNS.
Make sure the port number is not blocked by your internal firewall. For example, to test whether port 2222 is blocked visit http://portquiz.net:2222/
If you are not able to access port 2222, you can try our workaround.
We recommend using the command line when troubleshooting connection issues as GUIs can hide underlying errors. From the site Dashboard, copy the provided connection command for the desired service and run it in terminal.