简体   繁体   English

WSO2 Identity Server 3.3.0 将端口从 9443 更改为 443

[英]WSO2 Identity Server 3.3.0 change port from 9443 to 443

Changing wsO2 port to 443将 wsO2 端口更改为 443

current URL https://localhost:9443/devicemgt/当前 URL https://localhost:9443/devicemgt/

https://localhost:443/devicemgt/ https://localhost:443/devicemgt/

I assume you are referring to WSO2 IoT server 3.3.0.我假设您指的是 WSO2 IoT 服务器 3.3.0。

Since the default port is 9443, you can configure the port offset as -9000 and make it run with port 443. You can open <IOTS_HOME>/conf/carbon.xml and change <Offset>-9000</Offset> .由于默认端口为 9443,因此您可以将端口偏移量配置为 -9000 并使其在端口 443 上运行。您可以打开<IOTS_HOME>/conf/carbon.xml并更改<Offset>-9000</Offset> Refer this document for more info.有关更多信息,请参阅此文档

Also, note that, when we are starting a service in a Linux environment to listen for a port number less than 1024, it will require root permission.另请注意,当我们在 Linux 环境中启动服务以侦听小于 1024 的端口号时,将需要 root 权限。

Therefore, the ideal solution may be having a proxy server/ load balancer in front of the WSO2 Server to expose different ports to outside.因此,理想的解决方案可能是在 WSO2 服务器前面设置一个代理服务器/负载平衡器,以向外部公开不同的端口。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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