<?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: Failed to bind DNS in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-bind-DNS/m-p/345566#M234565</link>
    <description>&lt;P&gt;So&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;java.net.BindException: Cannot assign requested address &lt;/EM&gt;&lt;/STRONG&gt;is an error occurred while attempting to bind a socket to provided hostname and port. Typically, the port is in use, or the requested hostname could not be assigned, Are you sure port is free and no issues with the hostname you are using ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jun 2022 12:21:46 GMT</pubDate>
    <dc:creator>ckumar</dc:creator>
    <dc:date>2022-06-14T12:21:46Z</dc:date>
    <item>
      <title>Failed to bind DNS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-bind-DNS/m-p/345500#M234550</link>
      <description>&lt;P&gt;I am trying to run Nifi in a docker container on an EC2 instance.&amp;nbsp; However, whenever my container starts I am seeing the following error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2022-06-14 02:23:51,093 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down.&lt;BR /&gt;java.io.IOException: Failed to bind to ec2-xx-xx-xx-xx.us-east-2.compute.amazonaws.com/xx.xx.xx.xx:8082&lt;BR /&gt;at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:349)&lt;BR /&gt;at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:310)&lt;BR /&gt;at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)&lt;BR /&gt;at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:234)&lt;BR /&gt;at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)&lt;BR /&gt;at org.eclipse.jetty.server.Server.doStart(Server.java:401)&lt;BR /&gt;at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)&lt;BR /&gt;at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:1008)&lt;BR /&gt;at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:170)&lt;BR /&gt;at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:82)&lt;BR /&gt;at org.apache.nifi.NiFi.main(NiFi.java:330)&lt;BR /&gt;Caused by: java.net.BindException: Cannot assign requested address&lt;BR /&gt;at sun.nio.ch.Net.bind0(Native Method)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have added the following in the nifi.properties file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;nifi.web.http.host&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;nifi.web.http.port&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;nifi.web.http.network.interface.default&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;#############################################&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;nifi.web.https.host&lt;/SPAN&gt;&lt;SPAN&gt;=ec2-xx-xx-xx-xx.us-east-2.compute.amazonaws.com&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;nifi.web.https.port&lt;/SPAN&gt;&lt;SPAN&gt;=9443&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;at sun.nio.ch.Net.bind(Net.java:461)&lt;BR /&gt;at sun.nio.ch.Net.bind(Net.java:453)&lt;BR /&gt;at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:222)&lt;BR /&gt;at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85)&lt;BR /&gt;at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344)&lt;BR /&gt;... 10 common frames omitted&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 02:31:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-bind-DNS/m-p/345500#M234550</guid>
      <dc:creator>Vinay_Joseph</dc:creator>
      <dc:date>2022-06-14T02:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to bind DNS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-bind-DNS/m-p/345566#M234565</link>
      <description>&lt;P&gt;So&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;java.net.BindException: Cannot assign requested address &lt;/EM&gt;&lt;/STRONG&gt;is an error occurred while attempting to bind a socket to provided hostname and port. Typically, the port is in use, or the requested hostname could not be assigned, Are you sure port is free and no issues with the hostname you are using ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 12:21:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-bind-DNS/m-p/345566#M234565</guid>
      <dc:creator>ckumar</dc:creator>
      <dc:date>2022-06-14T12:21:46Z</dc:date>
    </item>
  </channel>
</rss>

