본문 바로가기

SI 개발/Etc

톰캣 로컬호스트 IP접속 안될 때

conf/server.xml 의 connector 부분에 address="0.0.0.0" 을 추가하면 된다.

<Connector port="8080" maxHttpHeaderSize="8192"

               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"

               enableLookups="false" redirectPort="8443" acceptCount="100"

               connectionTimeout="20000" disableUploadTimeout="true" 

               URIEncoding="UTF-8"

               address="0.0.0.0" />



- 출처

slothink.tistory.com/100

 

톰캣에서 외부 ip 접속이 안 될 때

톰캣을 시작했는데, localhost 로는 접속이 되는데 실제 ip 로는 접근이 안되는 경우가 있다. 그럴 때는 conf/server.xml 의 connector 부분에 address="0.0.0.0" 을 추가하면 된다.   maxThreads="150" minSpare..

slothink.tistory.com

 

'SI 개발 > Etc' 카테고리의 다른 글

기업 개발블로그 링크모음  (0) 2020.12.18