<?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/"
	>

<channel>
	<title>Pario TechnoBlob &#187; netstat</title>
	<atom:link href="http://pario.no/tag/netstat/feed/" rel="self" type="application/rss+xml" />
	<link>http://pario.no</link>
	<description>A cronological documentation test project, nothing serious, really!</description>
	<lastBuildDate>Thu, 26 Apr 2012 08:18:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>MySQL Not Listening On A Public IP</title>
		<link>http://pario.no/2007/09/04/mysql-not-listening-on-a-public-ip/</link>
		<comments>http://pario.no/2007/09/04/mysql-not-listening-on-a-public-ip/#comments</comments>
		<pubDate>Tue, 04 Sep 2007 13:50:43 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[netstat]]></category>

		<guid isPermaLink="false">http://hhj.no/wordpress/2007/09/04/mysql-not-listening-on-a-public-ip/</guid>
		<description><![CDATA[By default, MySQL (on Debian) doesn&#8217;t listen on the public interface: #netstat -l tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1768/mysqld In /etc/mysql/my.cnf, comment out the bind line: #bind-address = 127.0.0.1 And restart MySQL. Then it will listen on the public interface, and you should be able to connect. #netstat -l tcp 0 0 0.0.0.0:3306 0.0.0.0:* [...]]]></description>
			<content:encoded><![CDATA[<p>By default, MySQL (on Debian) doesn&#8217;t listen on the public interface:</p>
<pre>
#netstat -l
tcp        0      0 127.0.0.1:3306          0.0.0.0:*
LISTEN     1768/mysqld</pre>
<p>In <strong>/etc/mysql/my.cnf</strong>, comment out the bind line:</p>
<pre>
#bind-address           = 127.0.0.1</pre>
<p>And restart MySQL. Then it will listen on the public interface, and you should be able to connect.</p>
<pre>
#netstat -l
tcp        0      0 0.0.0.0:3306            0.0.0.0:*
LISTEN     14134/mysqld</pre>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDcvMDkvMDQvbXlzcWwtbm90LWxpc3RlbmluZy1vbi1hLXB1YmxpYy1pcC88d3B0Yj5NeVNRTCBOb3QgTGlzdGVuaW5nIE9uIEEgUHVibGljIElQPHdwdGI%2BaHR0cDovL3BhcmlvLm5vPHdwdGI%2BUGFyaW8gVGVjaG5vQmxvYg%3D%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2007/09/04/mysql-not-listening-on-a-public-ip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Utskrift av port, pid og daemon navn v.h.a netstat</title>
		<link>http://pario.no/2007/02/01/utskrift-av-port-pid-og-daemon-navn-vha-netstat/</link>
		<comments>http://pario.no/2007/02/01/utskrift-av-port-pid-og-daemon-navn-vha-netstat/#comments</comments>
		<pubDate>Thu, 01 Feb 2007 21:48:35 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[egrep]]></category>
		<category><![CDATA[gawk]]></category>
		<category><![CDATA[netstat]]></category>
		<category><![CDATA[sed]]></category>

		<guid isPermaLink="false">http://hhj.no/wordpress/2007/02/01/utskrift-av-port-pid-og-daemon-navn-vha-netstat/</guid>
		<description><![CDATA[netstat -nap&#124; egrep "(0.0.0.0).*(0.0.0.0).*LISTEN" &#124; gawk '{print $4 ":" $7}' &#124; egrep -o ":(.*)" &#124; cut -c 2-&#124;sed 's/\//\:/']]></description>
			<content:encoded><![CDATA[<p><code>netstat -nap| egrep "(0.0.0.0).*(0.0.0.0).*LISTEN" | gawk '{print $4 ":" $7}' | egrep -o ":(.*)" | cut -c 2-|sed  's/\//\:/'</code></p>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDcvMDIvMDEvdXRza3JpZnQtYXYtcG9ydC1waWQtb2ctZGFlbW9uLW5hdm4tdmhhLW5ldHN0YXQvPHdwdGI%2BVXRza3JpZnQgYXYgcG9ydCwgcGlkIG9nIGRhZW1vbiBuYXZuIHYuaC5hIG5ldHN0YXQ8d3B0Yj5odHRwOi8vcGFyaW8ubm88d3B0Yj5QYXJpbyBUZWNobm9CbG9i";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2007/02/01/utskrift-av-port-pid-og-daemon-navn-vha-netstat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

