unable to bind listener to any port in the range 32000 to 32999

Solution  :

First check whether any other application is LISTENING on the port range which you have given by using below command

sudo netstat -an|less

output  :

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:9091            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:50695           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:8009            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:9002            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:9003            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:51413           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN

Make sure that the no other application is listening on ports from 32000 to 32999.If any then change your application min and max port in wrapper.conf file

wrapper.port=65534
wrapper.port.min=65530
wrapper.port.max=65535



Still if you face same error then add below line to wrapper.config file

wrapper.backend.type=PIPE

This configuration  allow you to avoid using sockets and use pipes instead to get around this problem.

"wrapper.backend.type=PIPE"  solved my problem 


参考文章:

unable to bind listener to any port in the range 32000 to 32999


你可能感兴趣的:(架构)