<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: NiFi - Cannot assign requested address (Bind failed) in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cannot-assign-requested-address-Bind-failed/m-p/176743#M138993</link>
    <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I'm installing Nifi with Ambari on AWS EC2.&lt;/P&gt;&lt;P&gt;I got a similar error. What shall I do? Here the nifi-app.log:&lt;/P&gt;&lt;PRE&gt;2017-08-09 04:42:52,225 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down.
java.net.BindException: Cannot assign requested address
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:433)
        at sun.nio.ch.Net.bind(Net.java:425)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:298)
        at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
        at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.server.Server.doStart(Server.java:431)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:705)
        at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:160)
        at org.apache.nifi.NiFi.main(NiFi.java:267)
2017-08-09 04:42:52,228 INFO [Thread-1] org.apache.nifi.NiFi Initiating shutdown of Jetty web server...
2017-08-09 04:42:52,236 INFO [Thread-1] o.eclipse.jetty.server.AbstractConnector Stopped ServerConnector@25b88b09{HTTP/1.1,[http/1.1]}{&amp;lt;FQDN-of-my-EC2-instance&amp;gt;:9090}
2017-08-09 04:42:52,236 INFO [Thread-1] org.eclipse.jetty.server.session Stopped scavenging&lt;/PRE&gt;</description>
    <pubDate>Wed, 09 Aug 2017 12:13:21 GMT</pubDate>
    <dc:creator>bon_d</dc:creator>
    <dc:date>2017-08-09T12:13:21Z</dc:date>
    <item>
      <title>NiFi - Cannot assign requested address (Bind failed)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cannot-assign-requested-address-Bind-failed/m-p/176741#M138991</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Getting the below error during nifi startup:&lt;/P&gt;&lt;P&gt;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:1022)
at org.apache.nifi.bootstrap.RunNiFi.main(RunNiFi.java:216)&lt;/P&gt;&lt;P&gt;I've left nifi.properties default and verified ports not being used&lt;/P&gt;&lt;P&gt;nifi.web.http.host=&lt;/P&gt;&lt;P&gt;nifi.web.http.port=8080&lt;/P&gt;&lt;P&gt;any ideas? &lt;/P&gt;</description>
      <pubDate>Sat, 08 Jul 2017 02:42:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cannot-assign-requested-address-Bind-failed/m-p/176741#M138991</guid>
      <dc:creator>mliem</dc:creator>
      <dc:date>2017-07-08T02:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi - Cannot assign requested address (Bind failed)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cannot-assign-requested-address-Bind-failed/m-p/176742#M138992</link>
      <description>&lt;P&gt;What is the output of the following:

netstat -ant |grep LISTEN&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jul 2017 03:22:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cannot-assign-requested-address-Bind-failed/m-p/176742#M138992</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2017-07-08T03:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi - Cannot assign requested address (Bind failed)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cannot-assign-requested-address-Bind-failed/m-p/176743#M138993</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I'm installing Nifi with Ambari on AWS EC2.&lt;/P&gt;&lt;P&gt;I got a similar error. What shall I do? Here the nifi-app.log:&lt;/P&gt;&lt;PRE&gt;2017-08-09 04:42:52,225 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down.
java.net.BindException: Cannot assign requested address
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:433)
        at sun.nio.ch.Net.bind(Net.java:425)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:298)
        at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
        at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.server.Server.doStart(Server.java:431)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:705)
        at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:160)
        at org.apache.nifi.NiFi.main(NiFi.java:267)
2017-08-09 04:42:52,228 INFO [Thread-1] org.apache.nifi.NiFi Initiating shutdown of Jetty web server...
2017-08-09 04:42:52,236 INFO [Thread-1] o.eclipse.jetty.server.AbstractConnector Stopped ServerConnector@25b88b09{HTTP/1.1,[http/1.1]}{&amp;lt;FQDN-of-my-EC2-instance&amp;gt;:9090}
2017-08-09 04:42:52,236 INFO [Thread-1] org.eclipse.jetty.server.session Stopped scavenging&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Aug 2017 12:13:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cannot-assign-requested-address-Bind-failed/m-p/176743#M138993</guid>
      <dc:creator>bon_d</dc:creator>
      <dc:date>2017-08-09T12:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi - Cannot assign requested address (Bind failed)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cannot-assign-requested-address-Bind-failed/m-p/176744#M138994</link>
      <description>&lt;P&gt;My first suggestion would be that another process is already using port 8080. You can check using &lt;/P&gt;&lt;PRE&gt;netstat -na|grep LISTEN|grep 8080&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Aug 2017 12:29:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cannot-assign-requested-address-Bind-failed/m-p/176744#M138994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-08-09T12:29:56Z</dc:date>
    </item>
  </channel>
</rss>

