[증상]
Bastion의 Shell에서 curl로 WAS에 요청시 "No route to host" 에러 발생
[bastion]$ curl -X GET http://WAS-IP:8080
curl: (7) Failed to connect to WAS-IP port 8080: No route to host
[해결방안]
WAS에서 filewall-cmd로 방화벽 허용포트 추가
# 영구적으로 TCP 8080을 개방
[WAS]$ sudo firewall-cmd --add-port=8080/tcp --permanent
# 현재 방화벽에 열려있는 포트 나열
[WAS]$ sudo firewall-cmd --list-ports
8080/tcp