我无法在 CentOS 上的端口 443(或 433 无所谓)上以特定用户运行 Spring Boot 应用程序。
Caused by: java.net.SocketException: Permission denied
Root 可以执行此操作。当我尝试在端口 8761 上运行它(使用相同的特定用户)时,它成功了。我应该在哪里应用此权限?
答案1
以下是我发现的内容
The Well Known Ports (0-1023) – which are reserved for the operating system and core services.
The Registered Ports (1024-49151) – which can be used by applications, specific services, and users.
The Dynamic and/or Private Ports (49152-65535)