Aliyun lightweight server pagoda springBoot started successfully and cannot be accessed

problem description:
I bought a machine, Aliyun"s lightweight server. It"s equipped with pagoda software.
wrote a springBoot program by himself, which was successfully deployed to it, and the port of the firewall was opened. But I just can"t access

.

clipboard.png

clipboard.png

springBoot startup log (excerpt)

2018-10-02 10:22:03.458 |-INFO  [main] org.springframework.web.servlet.mvc.meth
od.annotation.RequestMappingHandlerMapping [99] -| Mapped "{[/house/single/deta
il],methods=[POST]}" onto public java.lang.Object com.asita.renovation.controll
er.HouseInfoController.getItemDetail(com.asita.renovation.vo.HouseDetailVo)
2018-10-02 10:22:03.458 |-INFO  [main] org.springframework.web.servlet.mvc.meth
od.annotation.RequestMappingHandlerMapping [99] -| Mapped "{[/house/base/info],
methods=[GET]}" onto public java.lang.Object com.asita.renovation.controller.Ho
useInfoController.getHouseInfo(com.asita.renovation.vo.HouseVo)

paths are mapped.

but you can"t access it using ip + port number + path (for example, xxxxx:9999/xxxx). The server has nginx, running, but there is no proxy port 9999. Accessing other applications on the server is normal.

ping"s own host is also ping.

Jul.29,2021

looking at your screenshot, I feel that the security group rules on Aliyun are not configured correctly. If you want to open the 9999 end, it is 999999999999


.

try accessing the server locally

 curl -vvv 'http://127.0.0.1:9999/xxxx'

see what results there are, such as local access, it may be firewall / iptables and other problems


you are right. It's a security group problem ~

Menu