본문 바로가기
Utils & Infra & Tool/Tomcat

Tomcat 방화벽 확인

by 무대포 개발자 2017. 11. 24.
728x90
반응형

1. telnet ip port 로 cmd 에서 쳐보기

  • telnet 128.129.230.1 12200

2. 내부 톰캣 떠있나 확인

  • webapps/ROOT/index.jsp 만들고 ‘hello’ 라고 찍고
  • webapps/ROOT/WEB-INF/web.xml
    <web-app version="3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemalocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
        <welcome-file-list>
            <welcome-file>index.jsp</welcome-file>
        </welcome-file-list>
    </web-app>

3. wget http://localhost:port/index.jsp 가 받아지나 확인


4. IPTABLE-config 에 방화벽 포트 정보 있음.

댓글