"Java.net.BindException: Address already in use: bind"의 두 판 사이의 차이

(새 문서: ==개요== ;Failed to start end point associated with ProtocolHandler ["http-nio-8080"] ;<nowiki>java.net.BindException: Address already in use: bind</nowiki> <source lang='verilog'>...)
 
잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(다른 사용자 한 명의 중간 판 4개는 보이지 않습니다)
3번째 줄: 3번째 줄:
;<nowiki>java.net.BindException: Address already in use: bind</nowiki>
;<nowiki>java.net.BindException: Address already in use: bind</nowiki>


<source lang='verilog'>
==문제상황==
* 스프링부트 웹 시작시 오류 발생
<syntaxhighlight lang='verilog'>
2016-05-17 15:05:07.917 ERROR 11048 --- [          main] o.a.coyote.http11.Http11NioProtocol      : Failed to start end point associated with ProtocolHandler ["http-nio-8080"]
2016-05-17 15:05:07.917 ERROR 11048 --- [          main] o.a.coyote.http11.Http11NioProtocol      : Failed to start end point associated with ProtocolHandler ["http-nio-8080"]


14번째 줄: 16번째 줄:
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:340) ~[tomcat-embed-core-8.0.33.jar:8.0.33]
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:340) ~[tomcat-embed-core-8.0.33.jar:8.0.33]
... (생략)
... (생략)
</source>
</syntaxhighlight>
:→ 다른 프로그램이 8080 포트 사용중
 
==해결방안==
* 해당 스프링부트 애플리케이션이 이미 실행중이면 중지
* 다른 프로그램을 끄거나, 포트 변경
:또는 스프링부트의 포트를 변경
 
==같이 보기==
*[[스프링부트 포트 변경]]
*[[Several ports (8080, 8009) required by Tomcat v7.0 Server at localhost are already in use.]]
 
[[분류: Spring]]

2020년 11월 2일 (월) 02:50 기준 최신판

1 개요[ | ]

Failed to start end point associated with ProtocolHandler ["http-nio-8080"]
java.net.BindException: Address already in use: bind

2 문제상황[ | ]

  • 스프링부트 웹 시작시 오류 발생
2016-05-17 15:05:07.917 ERROR 11048 --- [           main] o.a.coyote.http11.Http11NioProtocol      : Failed to start end point associated with ProtocolHandler ["http-nio-8080"]

java.net.BindException: Address already in use: bind
	at sun.nio.ch.Net.bind0(Native Method) ~[na:1.8.0_77]
	at sun.nio.ch.Net.bind(Unknown Source) ~[na:1.8.0_77]
	at sun.nio.ch.Net.bind(Unknown Source) ~[na:1.8.0_77]
	at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) ~[na:1.8.0_77]
	at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) ~[na:1.8.0_77]
	at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:340) ~[tomcat-embed-core-8.0.33.jar:8.0.33]
... (생략)
→ 다른 프로그램이 8080 포트 사용중

3 해결방안[ | ]

  • 해당 스프링부트 애플리케이션이 이미 실행중이면 중지
  • 다른 프로그램을 끄거나, 포트 변경
또는 스프링부트의 포트를 변경

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}