Command Appendix B, TCP Port Numbers

4D Internet Commands

Appendix B, TCP Port Numbers

version 6.5


How to choose a port number

• 0 to 1023 (Well Known Ports): The Well Known Ports are assigned by the I.A.N.A. (Internet Assigned Numbers Authority) and on most systems can only be used by system (or root) processes or by programs executed by privileged users.

- 20 and 21 FTP;
- 23 TELNET;
- 25 SMTP;
- 37 NTP;
- 80 and 8080 HTTP;
- 443 HTTPS.

• 1024 to 49151 (Registered Ports): The Registered Ports are listed by the I.A.N.A. and on most systems can be used by ordinary user processes or programs executed by ordinary users (routers, specific applications...)

• 49152 to 65535 (Dynamic and/or Private Ports) : The Dynamic and/or Private Ports are free of use.

People who want to use TCP/IP commands to synchronize databases would have to use port numbers higher than 49151.

For more information, please visit the I.A.N.A. Web site: http://www.iana.org

TCP Port Numbers

daytime 13 Daytime
qotd 17 Quote of the Day
ftp-data 20 File Transfer [Default Data]
ftp 21 File Transfer [Control]
telnet 23 Telnet
smtp 25 Simple Mail Transfer
time 37 Time
nicname 43 Who Is
domain 53 Domain Name Server
sql*net 66 Oracle SQL*NET
gopher 70 Gopher
finger 79 Finger
http 80 World Wide Web HTTP
poppassd 106 Password Server
rtelnet 107 Remote Telnet Service
pop2 109 Post Office Protocol - Version 2
pop3 110 Post Office Protocol - Version 3
sunrpc 111 SUN Remote Procedure Call
auth 113 Authentication Service
sftp 115 Simple File Transfer Protocol
sqlserv 118 SQL Services
nntp 119 Network News Transfer Protocol
ntp 123 Network Time Protocol
pwdgen 129 Password Generator Protocol
imap2 143 Interactive Mail Access Protocol v2
news 144 NewS
sql-net 150 SQL-NET
multiplex 171 Network Innovations Multiplex
cl/1 172 Network Innovations CL/1
at-rtmp 201 AppleTalk Routing Maintenance
at-nbp 202 AppleTalk Name Binding
at-3 203 AppleTalk Unused
at-echo 204 AppleTalk Echo
at-5 205 AppleTalk Unused
at-zis 206 AppleTalk Zone Information
at-7 207 AppleTalk Unused
at-8 208 AppleTalk Unused
ipx 213 IPX
netware-ip 396 Novell Netware over IP
timbuktu 407 Timbuktu
https443 Secured protocol
conference 531 chat
netnews 532 readnews
netwall 533 for emergency broadcasts
uucp 540 uucpd
uucp-rlogin 541 uucp-rlogin
whoami 565 whoami
ipcserver 600 Sun IPC server
phonebook 767 phone
accessbuilder 888 AccessBuilder