jiazhai commented on issue #5749: Bookie does not start because of 
UnknownHostException
URL: https://github.com/apache/pulsar/issues/5749#issuecomment-558918815
 
 
   @vishalananth07 regarding this issue:
   ```
   [main] ERROR org.apache.bookkeeper.server.Main - Failed to build bookie 
server
   java.net.UnknownHostException: Trying to listen on loopback address, 
127.0.1.1:3181 but this is forbidden by default (see 
ServerConfiguration#getAllowLoopback()).
   ```
   this is because listen on 127.0.0.1 while you are setting 
"allowLoopback=false" in bookkeeper.conf.
   you could try to set `useHostNameAsBookieID=true` in bookkeeper.conf

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to