Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

NiFi server is not starting. Getting "cannot assign requested address."

Highlighted

NiFi server is not starting. Getting "cannot assign requested address."

Contributor

Hi Team,

I am unable to start NiFi server. i am getting below error.

Exception in thread "main" java.net.BindException: Cannot assign requested address (Bind failed) at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387) at java.net.ServerSocket.bind(ServerSocket.java:375) at java.net.ServerSocket.bind(ServerSocket.java:329) at org.apache.nifi.bootstrap.NiFiListener.start(NiFiListener.java:38) at org.apache.nifi.bootstrap.RunNiFi.start(RunNiFi.java:1023) at org.apache.nifi.bootstrap.RunNiFi.main(RunNiFi.java:217)

============================

nifi-bootstrap.log

INFO [main] o.a.n.b.NotificationServiceManager Successfully loaded the following 0 services: []

INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STARTED

INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STOPPED

INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_DIED

Please help with it. Thanks in advance.

Don't have an account?
Coming from Hortonworks? Activate your account here