Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBryan Mullen
14,468 PointsWhere did the port number come from?
In this video you fill in the information for "port number" from memory, but where did this 5 digit number come from, and will it be the same for me?
2 Answers
Kristen Law
16,244 PointsBy default, FTP servers use port 21 and SFTP servers use port 22. However, sometimes the server administrators change the default port setting to another port to prevent unauthorized FTP access.
Bryan Mullen
14,468 PointsI think I understand, so does Nick change the port number from 22 to a number of his own choosing for better security?
Kristen Law
16,244 PointsThe port number is chosen by the server admin/hosting company, you don't choose it yourself. They should tell you if it is different from the default.