<?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>bindIp | SDT 攻城獅區</title>
	<atom:link href="https://sdt.hameba.tw/tag/bindip/feed/" rel="self" type="application/rss+xml" />
	<link>https://sdt.hameba.tw</link>
	<description>由Steven, Der, Ted 三位高級打字員所組成，是三位工程師(攻城獅)所維護的技術分享平台，或許偶爾會分享一些日常，有任何問題或是錯誤的部分，歡迎留言告訴我們！</description>
	<lastBuildDate>Thu, 27 Feb 2020 16:31:09 +0800</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.3</generator>

<image>
	<url>https://sdt.hameba.tw/wp-content/uploads/2020/02/hameba_favicon-150x150.png</url>
	<title>bindIp | SDT 攻城獅區</title>
	<link>https://sdt.hameba.tw</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>MongoDB 安裝完成後，開啟對外連線</title>
		<link>https://sdt.hameba.tw/522/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mongodb-%25e5%25ae%2589%25e8%25a3%259d%25e5%25ae%258c%25e6%2588%2590%25e5%25be%258c%25ef%25bc%258c%25e9%2596%258b%25e5%2595%259f%25e5%25b0%258d%25e5%25a4%2596%25e9%2580%25a3%25e7%25b7%259a</link>
				<comments>https://sdt.hameba.tw/522/#respond</comments>
				<pubDate>Thu, 20 Feb 2020 03:34:56 +0000</pubDate>
		<dc:creator><![CDATA[Hsu Steven]]></dc:creator>
				<category><![CDATA[System]]></category>
		<category><![CDATA[bindIp]]></category>
		<category><![CDATA[MongoDB]]></category>

		<guid isPermaLink="false">https://sdt.hameba.tw/?p=522</guid>
				<description><![CDATA[<p>依照此篇 Ubuntu 18.04.3 安裝 MongoDB 4.0  安裝完後， 在外部連線時會發生無法連問 &#8230; </p>
<p class="link-more"><a href="https://sdt.hameba.tw/522/" class="more-link">閱讀全文<span class="screen-reader-text">〈MongoDB 安裝完成後，開啟對外連線〉</span></a></p>
The post <a href="https://sdt.hameba.tw/522/">MongoDB 安裝完成後，開啟對外連線</a> first appeared on <a href="https://sdt.hameba.tw">SDT 攻城獅區</a>.]]></description>
								<content:encoded><![CDATA[<p>依照此篇 <a href="https://sdt.hameba.tw/127/">Ubuntu 18.04.3 安裝 MongoDB 4.0</a>  安裝完後，</p>
<p>在外部連線時會發生無法連問題，</p>
<p>需要修改mongodb.conf，預設允許連線位置。<span id="more-522"></span></p><pre class="crayon-plain-tag">$ sudo nano /etc/mongod.conf 

// 原本的連線只允許本機
# network interfaces
net:
  port: 27017
  bindIp: 127.0.0.1

// 修改成允許所有外部連線ip
# network interfaces
net:
  port: 27017
  bindIp: 0.0.0.0

// 指定連線ip
# network interfaces
net:
  port: 27017
  bindIp: 127.0.0.1, 192.168.0.1</pre><p>&nbsp;</p>
<p>Reference</p>
<p><a href="https://www.kdzone.net/2017/04/mongodb-5-allow-remote-access.html" target="_blank" rel="noopener noreferrer">https://www.kdzone.net/2017/04/mongodb-5-allow-remote-access.html</a></p>The post <a href="https://sdt.hameba.tw/522/">MongoDB 安裝完成後，開啟對外連線</a> first appeared on <a href="https://sdt.hameba.tw">SDT 攻城獅區</a>.]]></content:encoded>
							<wfw:commentRss>https://sdt.hameba.tw/522/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
	</channel>
</rss>
