By angelicas
Our network only allows to use port 80 for SSH Access, so I want to confirm if I can connect to a server using SSH/cPanel using port 80? Thank you in advance
PS: I’m still learning how to use DigitalOcean Components and environment setup.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there,
Port 80 is usually reserved for HTTP and is used by web services like Apache and Nginx.
By default, SSH runs on port 22, unless some changes have been made to the SSH config file.
If this is not the case for you, you could find out what port SSH is listening on with the following command:
- sudo netstat -plant | grep ssh
Hope that this helps! Regards, Bobby
Hello, @angelicas
As per Bobby’s answer, the default ssh port is 22. You can run the command which Bobby provided in order to check on which port is ssh is listening to.
Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.