<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/">

<channel>
	<title>release port Archives - Manish Sanger</title>
	<atom:link href="https://www.manishsanger.com/tag/release-port/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.manishsanger.com/tag/release-port/</link>
	<description>Java, J2EE, Spring Framework, application security,big data,database,design patterns,hibernate,j2ee,java,jdbc,micro-services,mongodb,multithreading,nosql</description>
	<lastBuildDate>Fri, 15 Dec 2017 07:55:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>Release port on MacOSX and Linux</title>
		<link>https://www.manishsanger.com/release-port-on-macosx-and-linux/</link>
					<comments>https://www.manishsanger.com/release-port-on-macosx-and-linux/#respond</comments>
		
		<dc:creator><![CDATA[manishsanger]]></dc:creator>
		<pubDate>Fri, 15 Dec 2017 06:33:51 +0000</pubDate>
				<category><![CDATA[Installation/SetUp]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Port]]></category>
		<category><![CDATA[release port]]></category>
		<guid isPermaLink="false">https://www.manishsanger.com/?p=258</guid>

					<description><![CDATA[<p>Sometimes when we start application on MacOSx or linux they don&#8217;t start, because an port is already occupied by application which terminated unexpectedly or by some other application. Developers face these kind of issue more frequently, when we run java application in our IDE eclipse or IntelliJ Idea and switch between run/debug or error in [&#8230;]</p>
<p>The post <a href="https://www.manishsanger.com/release-port-on-macosx-and-linux/">Release port on MacOSX and Linux</a> appeared first on <a href="https://www.manishsanger.com">Manish Sanger</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Sometimes when we start application on MacOSx or linux they don&#8217;t start, because an port is already occupied by application which terminated unexpectedly or by some other application. Developers face these kind of issue more frequently, when we run java application in our IDE eclipse or IntelliJ Idea and switch between run/debug or error in run/debug. Now we need to free the port which was occupied by an existing instance of the application or any other application, so that we can run the program again. This is a 2 step process:</p>
<p><strong>1. Find applications running on a particular port</strong><br />
<pre><code class="bash">lsof -i :[port]
</code></pre>
<br />
<strong>2. Kill application running on a port by PID we got from the previous step:</strong><br />
<pre><code class="bash">Kill -9 [PID]
</code></pre>
<p>Here is the screenshot:<br />
<div id="attachment_259" style="width: 927px" class="wp-caption alignnone"><a href="https://www.manishsanger.com/wp-content/uploads/2017/12/Screen-Shot-2017-12-15-at-11.37.35-AM.png"><img fetchpriority="high" decoding="async" aria-describedby="caption-attachment-259" src="https://www.manishsanger.com/wp-content/uploads/2017/12/Screen-Shot-2017-12-15-at-11.37.35-AM.png" alt="free port on MacOSX or linux terminal" width="917" height="73" class="size-full wp-image-259" srcset="https://www.manishsanger.com/wp-content/uploads/2017/12/Screen-Shot-2017-12-15-at-11.37.35-AM.png 917w, https://www.manishsanger.com/wp-content/uploads/2017/12/Screen-Shot-2017-12-15-at-11.37.35-AM-300x24.png 300w, https://www.manishsanger.com/wp-content/uploads/2017/12/Screen-Shot-2017-12-15-at-11.37.35-AM-768x61.png 768w" sizes="(max-width: 917px) 100vw, 917px" /></a><p id="caption-attachment-259" class="wp-caption-text">free port on MacOSX or linux terminal</p></div>
<p>The post <a href="https://www.manishsanger.com/release-port-on-macosx-and-linux/">Release port on MacOSX and Linux</a> appeared first on <a href="https://www.manishsanger.com">Manish Sanger</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.manishsanger.com/release-port-on-macosx-and-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<enclosure url="https://www.manishsanger.com/wp-content/uploads/2017/12/Screen-Shot-2017-12-15-at-11.37.35-AM.png" length="45122" type="image/png"/><media:content url="https://www.manishsanger.com/wp-content/uploads/2017/12/Screen-Shot-2017-12-15-at-11.37.35-AM.png" width="917" height="73" medium="image" type="image/png"/>	</item>
	</channel>
</rss>
