简体   繁体   中英

Why sockets programming work when we use a reserved port?

Why when we use a reserved port in java socket its work on the localhost?

ServerSocket ss = new ServerSocket(443);

This port from reserved ports (0~1023),but its work without any problem !!

您可以使用该端口,因为该保留端口未用于任何其他目的。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM