<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1099 Application server either fails to start with "Address already in use: bind / [IP]:[Port]" error thrown or 503 service unavailable error encountered</title><link>https://community.appian.com/support/w/kb/322/kb-1099-application-server-either-fails-to-start-with-address-already-in-use-bind-ip-port-error-thrown-or-503-service-unavailable-error-encountered</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1099 Application server either fails to start with "Address already in use: bind / [IP]:[Port]" error thrown or 503 service unavailable error encountered</title><link>https://community.appian.com/support/w/kb/322/kb-1099-application-server-either-fails-to-start-with-address-already-in-use-bind-ip-port-error-thrown-or-503-service-unavailable-error-encountered</link><pubDate>Thu, 14 Nov 2019 00:38:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84725ba0-f27e-4bcc-ace2-bb513d343005</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/322/kb-1099-application-server-either-fails-to-start-with-address-already-in-use-bind-ip-port-error-thrown-or-503-service-unavailable-error-encountered#comments</comments><description>Current Revision posted to Appian Knowledge Base by Parmida Borhani on 11/14/2019 12:38:08 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting the application server, the application server either fails to start up, or if it does start, an HTTP 503 status code is encountered when attempting to access the login page:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/503-Crop.png" /&gt;&lt;/p&gt;
&lt;p&gt;The following error is also printed in application server log:&lt;/p&gt;
&lt;pre&gt;Caused by: java.net.BindException: Address already in use: bind
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error message is returned when the service printed in the error message can&amp;#39;t be started. This means that the port defined in the error message is already being used. Ports can be defined in the following files:&lt;/p&gt;
&lt;h3&gt;Tomcat&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;b&gt;server.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/conf&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;JBoss&amp;nbsp;&lt;/h3&gt;
&lt;p&gt;&lt;b&gt;standalone.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;located in&amp;nbsp;&lt;/span&gt;&lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/configuration&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Make sure that the port defined for the problematic service is free. To identify if there is a running process on that port, and identify that process&amp;#39;s PID:&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Linux&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Run the following command:&amp;nbsp;&lt;code&gt;netstat -pnltu | grep -i &amp;quot;&amp;lt;PORT&amp;gt;&amp;quot;&amp;nbsp;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If there is a running process on the port, you can kill the process with the following command:&amp;nbsp;&lt;code&gt;kill -9 &amp;lt;PID&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Windows&lt;/span&gt;&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Open an Administrator Command Prompt and run the following command:&amp;nbsp;&lt;code&gt;netstat -a -b -o | findstr &amp;quot;&amp;lt;PORT&amp;gt;&amp;quot;&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Open Task Manager, navigate to the &amp;quot;Performance&amp;quot; tab, and at the bottom click &amp;quot;Open Resource Monitor.&amp;quot; From here, you can view listening ports and their respective PIDs.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If there is a running process on the port, you can kill the process with the following command:&amp;nbsp;&lt;code&gt;taskkill /F /PID &amp;lt;PID&amp;gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;span&gt;&amp;nbsp;If it is not possible to liberate the default port, it is possible to manually modify the desired port by changing the value for the service in&amp;nbsp;&lt;/span&gt;&lt;b&gt;standalone.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;or&amp;nbsp;&lt;/span&gt;&lt;b&gt;server.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;for JBoss and Tomcat respectively.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;November 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: port, Tomcat, 503, application server, infrastructure, jboss&lt;/div&gt;
</description></item><item><title>KB-1099 "JBAS017112: Address already in use: bind / [IP]:[Port]" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/322/kb-1099-application-server-either-fails-to-start-with-address-already-in-use-bind-ip-port-error-thrown-or-503-service-unavailable-error-encountered/revision/7</link><pubDate>Thu, 14 Nov 2019 00:36:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84725ba0-f27e-4bcc-ace2-bb513d343005</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/322/kb-1099-application-server-either-fails-to-start-with-address-already-in-use-bind-ip-port-error-thrown-or-503-service-unavailable-error-encountered#comments</comments><description>Revision 7 posted to Appian Knowledge Base by Parmida Borhani on 11/14/2019 12:36:11 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting the application server, the application server either fails to start up, or if it does start, an HTTP 503 status code is encountered when attempting to access the login page:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/503-Crop.png" /&gt;&lt;/p&gt;
&lt;pre&gt;Service Unavailable&lt;br /&gt;The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.&lt;br /&gt;Additionally, a 503 Service Unavailable error was encountered &lt;span class="code-keyword"&gt;while&lt;/span&gt; trying to use an ErrorDocument to handle the request.&lt;/pre&gt;
&lt;p&gt;The following error is also printed in application server log:&lt;/p&gt;
&lt;pre&gt;Caused by: java.net.BindException: Address already in use: bind
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error message is returned when the service printed in the error message can&amp;#39;t be started. This means that the port defined in the error message is already being used. Ports can be defined in the following files:&lt;/p&gt;
&lt;h3&gt;Tomcat&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;b&gt;server.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/conf&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;JBoss&amp;nbsp;&lt;/h3&gt;
&lt;p&gt;&lt;b&gt;standalone.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;located in&amp;nbsp;&lt;/span&gt;&lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/configuration&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Make sure that the port defined for the problematic service is free. To identify if there is a running process on that port, and identify that process&amp;#39;s PID:&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Linux&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Run the following command:&amp;nbsp;&lt;code&gt;netstat -pnltu | grep -i &amp;quot;&amp;lt;PORT&amp;gt;&amp;quot;&amp;nbsp;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If there is a running process on the port, you can kill the process with the following command:&amp;nbsp;&lt;code&gt;kill -9 &amp;lt;PID&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Windows&lt;/span&gt;&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Open an Administrator Command Prompt and run the following command:&amp;nbsp;&lt;code&gt;netstat -a -b -o | findstr &amp;quot;&amp;lt;PORT&amp;gt;&amp;quot;&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Open Task Manager, navigate to the &amp;quot;Performance&amp;quot; tab, and at the bottom click &amp;quot;Open Resource Monitor.&amp;quot; From here, you can view listening ports and their respective PIDs.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If there is a running process on the port, you can kill the process with the following command:&amp;nbsp;&lt;code&gt;taskkill /F /PID &amp;lt;PID&amp;gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;span&gt;&amp;nbsp;If it is not possible to liberate the default port, it is possible to manually modify the desired port by changing the value for the service in&amp;nbsp;&lt;/span&gt;&lt;b&gt;standalone.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;or&amp;nbsp;&lt;/span&gt;&lt;b&gt;server.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;for JBoss and Tomcat respectively.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;November 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: port, Tomcat, 503, application server, infrastructure, jboss&lt;/div&gt;
</description></item><item><title>KB-1099 "JBAS017112: Address already in use: bind / [IP]:[Port]" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/322/kb-1099-application-server-either-fails-to-start-with-address-already-in-use-bind-ip-port-error-thrown-or-503-service-unavailable-error-encountered/revision/6</link><pubDate>Wed, 13 Nov 2019 02:55:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84725ba0-f27e-4bcc-ace2-bb513d343005</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/322/kb-1099-application-server-either-fails-to-start-with-address-already-in-use-bind-ip-port-error-thrown-or-503-service-unavailable-error-encountered#comments</comments><description>Revision 6 posted to Appian Knowledge Base by Parmida Borhani on 11/13/2019 2:55:25 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting the application server, the application server either fails to start up, or if it does start, an HTTP 503 status code is encountered when attempting to access the login page:&lt;/p&gt;
&lt;pre&gt;Service Unavailable&lt;br /&gt;The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.&lt;/pre&gt;
&lt;p&gt;The following error is also printed in application server log:&lt;/p&gt;
&lt;pre&gt;Caused by: java.net.BindException: Address already in use: bind
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error message is returned when the service printed in the error message can&amp;#39;t be started. This means that the port defined in the error message is already being used. Ports can be defined in the following files:&lt;/p&gt;
&lt;h3&gt;Tomcat&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;b&gt;server.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/conf&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;JBoss&amp;nbsp;&lt;/h3&gt;
&lt;p&gt;&lt;b&gt;standalone.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;located in&amp;nbsp;&lt;/span&gt;&lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/configuration&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Make sure that the port defined for the problematic service is free. To identify if there is a running process on that port, and identify that process&amp;#39;s PID:&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Linux&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Run the following command:&amp;nbsp;&lt;code&gt;netstat -pnltu | grep -i &amp;quot;&amp;lt;PORT&amp;gt;&amp;quot;&amp;nbsp;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If there is a running process on the port, you can kill the process with the following command:&amp;nbsp;&lt;code&gt;kill -9 &amp;lt;PID&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Windows&lt;/span&gt;&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Open an Administrator Command Prompt and run the following command:&amp;nbsp;&lt;code&gt;netstat -a -b -o | findstr &amp;quot;&amp;lt;PORT&amp;gt;&amp;quot;&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Open Task Manager, navigate to the &amp;quot;Performance&amp;quot; tab, and at the bottom click &amp;quot;Open Resource Monitor.&amp;quot; From here, you can view listening ports and their respective PIDs.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If there is a running process on the port, you can kill the process with the following command:&amp;nbsp;&lt;code&gt;taskkill /F /PID &amp;lt;PID&amp;gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;span&gt;&amp;nbsp;If it is not possible to liberate the default port, it is possible to manually modify the desired port by changing the value for the service in&amp;nbsp;&lt;/span&gt;&lt;b&gt;standalone.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;or&amp;nbsp;&lt;/span&gt;&lt;b&gt;server.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;for JBoss and Tomcat respectively.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;November 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: port, Tomcat, 503, application server, infrastructure, jboss&lt;/div&gt;
</description></item><item><title>KB-1099 "JBAS017112: Address already in use: bind / [IP]:[Port]" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/322/kb-1099-application-server-either-fails-to-start-with-address-already-in-use-bind-ip-port-error-thrown-or-503-service-unavailable-error-encountered/revision/5</link><pubDate>Wed, 13 Nov 2019 02:53:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84725ba0-f27e-4bcc-ace2-bb513d343005</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/322/kb-1099-application-server-either-fails-to-start-with-address-already-in-use-bind-ip-port-error-thrown-or-503-service-unavailable-error-encountered#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Parmida Borhani on 11/13/2019 2:53:32 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting the application server, the application server either fails to start up, or if it does start, an HTTP 503 status code is encountered when attempting to access the login page:&lt;/p&gt;
&lt;pre&gt;Service Unavailable&lt;br /&gt;The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.&lt;br /&gt;Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.&lt;/pre&gt;
&lt;p&gt;The following error is also printed in application server log:&lt;/p&gt;
&lt;pre&gt;Caused by: java.net.BindException: Address already in use: bind
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error message is returned when the service printed in the error message can&amp;#39;t be started. This means that the port defined in the error message is already being used. Ports can be defined in the following files:&lt;/p&gt;
&lt;h3&gt;Tomcat&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;b&gt;server.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/conf&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;JBoss&amp;nbsp;&lt;/h3&gt;
&lt;p&gt;&lt;b&gt;standalone.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;located in&amp;nbsp;&lt;/span&gt;&lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/configuration&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Make sure that the port defined for the problematic service is free. To identify if there is a running process on that port, and identify that process&amp;#39;s PID:&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Linux&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Run the following command:&amp;nbsp;&lt;code&gt;netstat -pnltu | grep -i &amp;quot;&amp;lt;PORT&amp;gt;&amp;quot;&amp;nbsp;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If there is a running process on the port, you can kill the process with the following command:&amp;nbsp;&lt;code&gt;kill -9 &amp;lt;PID&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Windows&lt;/span&gt;&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Open an Administrator Command Prompt and run the following command:&amp;nbsp;&lt;code&gt;netstat -a -b -o | findstr &amp;quot;&amp;lt;PORT&amp;gt;&amp;quot;&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Open Task Manager, navigate to the &amp;quot;Performance&amp;quot; tab, and at the bottom click &amp;quot;Open Resource Monitor.&amp;quot; From here, you can view listening ports and their respective PIDs.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If there is a running process on the port, you can kill the process with the following command:&amp;nbsp;&lt;code&gt;taskkill /F /PID &amp;lt;PID&amp;gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;span&gt;&amp;nbsp;If it is not possible to liberate the default port, it is possible to manually modify the desired port by changing the value for the service in&amp;nbsp;&lt;/span&gt;&lt;b&gt;standalone.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;or&amp;nbsp;&lt;/span&gt;&lt;b&gt;server.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;for JBoss and Tomcat respectively.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;November 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, infrastructure, jboss&lt;/div&gt;
</description></item><item><title>KB-1099 "JBAS017112: Address already in use: bind / [IP]:[Port]" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/322/kb-1099-application-server-either-fails-to-start-with-address-already-in-use-bind-ip-port-error-thrown-or-503-service-unavailable-error-encountered/revision/4</link><pubDate>Wed, 13 Nov 2019 02:51:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84725ba0-f27e-4bcc-ace2-bb513d343005</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/322/kb-1099-application-server-either-fails-to-start-with-address-already-in-use-bind-ip-port-error-thrown-or-503-service-unavailable-error-encountered#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Parmida Borhani on 11/13/2019 2:51:04 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting the application server, the application server either fails to start up, or if it does start, an HTTP 503 status code is encountered when attempting to access the login page:&lt;/p&gt;
&lt;pre&gt;Service Unavailable&lt;br /&gt;The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.&lt;br /&gt;Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.&lt;/pre&gt;
&lt;p&gt;The following error is also printed in application server log:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;
Caused by: java.net.BindException: Address already in use: bind
&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error message is returned when the service printed in the error message can&amp;#39;t be started. This means that the port defined in the error message is already being used. Ports can be defined in the following files:&lt;/p&gt;
&lt;h3&gt;Tomcat&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;b&gt;server.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/conf&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;JBoss&amp;nbsp;&lt;/h3&gt;
&lt;p&gt;&lt;b&gt;standalone.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;located in&amp;nbsp;&lt;/span&gt;&lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/configuration&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Make sure that the port defined for the problematic service is free. To identify if there is a running process on that port, and identify that process&amp;#39;s PID:&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Linux&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Run the following command:&amp;nbsp;&lt;code&gt;netstat -pnltu | grep -i &amp;quot;&amp;lt;PORT&amp;gt;&amp;quot;&amp;nbsp;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If there is a running process on the port, you can kill the process with the following command:&amp;nbsp;&lt;code&gt;kill -9 &amp;lt;PID&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Windows&lt;/span&gt;&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Open an Administrator Command Prompt and run the following command:&amp;nbsp;&lt;code&gt;netstat -a -b -o | findstr &amp;quot;&amp;lt;PORT&amp;gt;&amp;quot;&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Open Task Manager, navigate to the &amp;quot;Performance&amp;quot; tab, and at the bottom click &amp;quot;Open Resource Monitor.&amp;quot; From here, you can view listening ports and their respective PIDs.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If there is a running process on the port, you can kill the process with the following command:&amp;nbsp;&lt;code&gt;taskkill /F /PID &amp;lt;PID&amp;gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;span&gt;&amp;nbsp;If it is not possible to liberate the default port, it is possible to manually modify the desired port by changing the value for the service in&amp;nbsp;&lt;/span&gt;&lt;b&gt;standalone.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;or&amp;nbsp;&lt;/span&gt;&lt;b&gt;server.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;for JBoss and Tomcat respectively.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;November 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, infrastructure, jboss&lt;/div&gt;
</description></item><item><title>KB-1099 "JBAS017112: Address already in use: bind / [IP]:[Port]" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/322/kb-1099-application-server-either-fails-to-start-with-address-already-in-use-bind-ip-port-error-thrown-or-503-service-unavailable-error-encountered/revision/3</link><pubDate>Wed, 13 Nov 2019 02:45:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84725ba0-f27e-4bcc-ace2-bb513d343005</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/322/kb-1099-application-server-either-fails-to-start-with-address-already-in-use-bind-ip-port-error-thrown-or-503-service-unavailable-error-encountered#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Parmida Borhani on 11/13/2019 2:45:40 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting the application server, the application server either fails to start up, or if it does start, an HTTP 503 status code is encountered when attempting to access the login page:&lt;/p&gt;
&lt;pre&gt;Service Unavailable&lt;br /&gt;The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.&lt;br /&gt;Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.&lt;/pre&gt;
&lt;p&gt;The following error is also printed in application server log:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;
Caused by: java.net.BindException: Address already in use: bind
&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error message is returned when the service printed in the error message can&amp;#39;t be started. This means that the port defined in the error message is already being used. Ports can be defined in the following files:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Tomcat:&amp;nbsp;&lt;/strong&gt;&lt;b&gt;server.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/conf&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;JBoss:&lt;/strong&gt;&amp;nbsp;&lt;b&gt;standalone.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;located in&amp;nbsp;&lt;/span&gt;&lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/configuration&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Make sure that the port defined for the problematic service is free. To identify if there is a running process on that port, and identify that process&amp;#39;s PID:&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Linux&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Run the following command:&amp;nbsp;&lt;code&gt;netstat -pnltu | grep -i &amp;quot;&amp;lt;PORT&amp;gt;&amp;quot;&amp;nbsp;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Windows&lt;/span&gt;&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Open an Administrator Command Prompt and run the following command:&amp;nbsp;&lt;code&gt;netstat -a -b -o | findstr &amp;quot;&amp;lt;PORT&amp;gt;&amp;quot;&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Open Task Manager, navigate to the &amp;quot;Performance&amp;quot; tab, and at the bottom click &amp;quot;Open Resource Monitor.&amp;quot; From here, you can view listening ports and their respective PIDs.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If there is a running process on the port, you can kill the process with the below commands:&lt;/p&gt;
&lt;h3&gt;Linux&lt;/h3&gt;
&lt;p&gt;&lt;code&gt; kill -9 &amp;lt;PID&amp;gt; &lt;/code&gt;&lt;/p&gt;
&lt;h3&gt;Windows&lt;/h3&gt;
&lt;p&gt;&lt;code&gt; taskkill /F /PID &amp;lt;PID&amp;gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;span&gt;&amp;nbsp;If it is not possible to liberate the default port, it is possible to manually modify the desired port by changing the value for the service in&amp;nbsp;&lt;/span&gt;&lt;b&gt;standalone.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;or&amp;nbsp;&lt;/span&gt;&lt;b&gt;server.xml&lt;/b&gt;&lt;span&gt;&amp;nbsp;for JBoss and Tomcat respectively.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;November 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, infrastructure, jboss&lt;/div&gt;
</description></item><item><title>KB-1099 "JBAS017112: Address already in use: bind / [IP]:[Port]" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/322/kb-1099-application-server-either-fails-to-start-with-address-already-in-use-bind-ip-port-error-thrown-or-503-service-unavailable-error-encountered/revision/2</link><pubDate>Mon, 30 Jul 2018 03:56:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84725ba0-f27e-4bcc-ace2-bb513d343005</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/322/kb-1099-application-server-either-fails-to-start-with-address-already-in-use-bind-ip-port-error-thrown-or-503-service-unavailable-error-encountered#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Parmida Borhani on 7/30/2018 3:56:23 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting JBoss, the following error is printed in application server log:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service [...]: JBAS017112: Address already in use: bind / [IP]:[Port]
...
Caused by: java.net.BindException: Address already in use: bind
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;JBoss then fails to deploy.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error message is returned when the service printed in the error message can&amp;#39;t be started. This means that the port defined in &lt;strong&gt;standalone.xml&lt;/strong&gt; located in &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/configuration&lt;/code&gt; is already being used.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;Make sure that the port defined for the problematic service is free. To identify the problematic service, locate the service name or port and compare it to the service name or port defined in &lt;strong&gt;standalone.xml&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Examples:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;The following error message refers to one of the &lt;code&gt;management&lt;/code&gt; services defined in &lt;strong&gt;standalone.xml&lt;/strong&gt; and using port 9999:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;MSC000001: Failed to start service jboss.remoting.server.management: org.jboss.msc.service.StartException in service jboss.remoting.server.management: JBAS017112: Address already in use: bind 127.0.0.1:9999
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The following error message refers to the &lt;code&gt;remoting&lt;/code&gt; service defined in &lt;strong&gt;standalone.xml&lt;/strong&gt; and using port 4447:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;MSC00001: Failed to start service jboss.remoting.server.remoting-connector: org.jboss.msc.service.StartException in service jboss.remoting.server.remoting-connector: JBAS017112: Address already in use: bind /127.0.0.1:4447
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; If it is not possible to liberate the default port, it is possible to manually modify the desired port by changing the value for the service in &lt;strong&gt;standalone.xml&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian using JBoss as an application server.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: February 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, infrastructure, jboss&lt;/div&gt;
</description></item><item><title>KB-1099 "JBAS017112: Address already in use: bind / [IP]:[Port]" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/322/kb-1099-application-server-either-fails-to-start-with-address-already-in-use-bind-ip-port-error-thrown-or-503-service-unavailable-error-encountered/revision/1</link><pubDate>Wed, 22 Feb 2017 22:07:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84725ba0-f27e-4bcc-ace2-bb513d343005</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/322/kb-1099-application-server-either-fails-to-start-with-address-already-in-use-bind-ip-port-error-thrown-or-503-service-unavailable-error-encountered#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Nick Vigilante on 2/22/2017 10:07:21 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting JBoss, the following error is printed in application server log:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service [...]: JBAS017112: Address already in use: bind / [IP]:[Port]
...
Caused by: java.net.BindException: Address already in use: bind
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;JBoss then fails to deploy.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error message is returned when the service printed in the error message can&amp;#39;t be started. This means that the port defined in &lt;strong&gt;standalone.xml&lt;/strong&gt; located in &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/configuration&lt;/code&gt; is already being used.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;Make sure that the port defined for the problematic service is free. To identify the problematic service, locate the service name or port and compare it to the service name or port defined in &lt;strong&gt;standalone.xml&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Examples:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;The following error message refers to one of the &lt;code&gt;management&lt;/code&gt; services defined in &lt;strong&gt;standalone.xml&lt;/strong&gt; and using port 9999:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;MSC000001: Failed to start service jboss.remoting.server.management: org.jboss.msc.service.StartException in service jboss.remoting.server.management: JBAS017112: Address already in use: bind 127.0.0.1:9999
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The following error message refers to the &lt;code&gt;remoting&lt;/code&gt; service defined in &lt;strong&gt;standalone.xml&lt;/strong&gt; and using port 4447:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;MSC00001: Failed to start service jboss.remoting.server.remoting-connector: org.jboss.msc.service.StartException in service jboss.remoting.server.remoting-connector: JBAS017112: Address already in use: bind /127.0.0.1:4447
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; If it is not possible to liberate the default port, it is possible to manually modify the desired port by changing the value for the service in &lt;strong&gt;standalone.xml&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian using JBoss as an application server.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: February 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, jboss&lt;/div&gt;
</description></item></channel></rss>