tomcat 시작 신문 java. net. BidException: 요청 한 주 소 를 할당 할 수 없습니다.

tomcat 시작 타 임 스 는 다음 과 같 습 니 다.
Feb 13, 2015 6:47:57 PM org.apache.catalina.ha.tcp.SimpleTcpCluster start
SEVERE: Unable to start cluster.
org.apache.catalina.tribes.ChannelException: java.net.BindException: Cannot assign requested address; No faulty members identified.
        at org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:169)
        at org.apache.catalina.tribes.group.ChannelCoordinator.start(ChannelCoordinator.java:97)
        at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149)
        at org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor.start(MessageDispatchInterceptor.java:147)
        at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149)
        at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149)
        at org.apache.catalina.tribes.group.GroupChannel.start(GroupChannel.java:407)
        at org.apache.catalina.ha.tcp.SimpleTcpCluster.start(SimpleTcpCluster.java:671)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1043)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.net.BindException: Cannot assign requested address
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
        at org.apache.catalina.tribes.transport.ReceiverBase.bind(ReceiverBase.java:205)
        at org.apache.catalina.tribes.transport.ReceiverBase.bind(ReceiverBase.java:217)
        at org.apache.catalina.tribes.transport.ReceiverBase.bind(ReceiverBase.java:217)
        at org.apache.catalina.tribes.transport.ReceiverBase.bind(ReceiverBase.java:217)
        at org.apache.catalina.tribes.transport.ReceiverBase.bind(ReceiverBase.java:217)
        at org.apache.catalina.tribes.transport.ReceiverBase.bind(ReceiverBase.java:217)
        at org.apache.catalina.tribes.transport.ReceiverBase.bind(ReceiverBase.java:217)
        at org.apache.catalina.tribes.transport.ReceiverBase.bind(ReceiverBase.java:217)
        at org.apache.catalina.tribes.transport.ReceiverBase.bind(ReceiverBase.java:217)
        at org.apache.catalina.tribes.transport.ReceiverBase.bind(ReceiverBase.java:217)
        at org.apache.catalina.tribes.transport.nio.NioReceiver.bind(NioReceiver.java:132)
        at org.apache.catalina.tribes.transport.nio.NioReceiver.start(NioReceiver.java:102)
        at org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:142)
        ... 18 more

원인: 이 컴퓨터 host 설정 이 잘못 되 었 습 니 다! /기계 이름 보기
hostname

/ / 이 기기 이름 에 대응 하 는 ip 주소 보기   
hostname -i   

/ / 호스트 이름 변경 보기, 시스템 프로필: / etc / sysconfig / network
cat /etc/sysconfig/network  
vi  /etc/sysconfig/network

/ / 수정 hostname, 시스템 프로필 보기: / etc / hosts
cat /etc/hosts
vi /etc/hosts   

좋은 웹페이지 즐겨찾기