<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 29, 2016, at 2:05 PM, Ryan Schmidt &lt;<a href="mailto:ryandesign@macports.org" class="">ryandesign@macports.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class=""><blockquote type="cite" class="">On Sep 29, 2016, at 10:30 AM, Zachary Waibel &lt;<a href="mailto:zjwaibel@gmail.com" class="">zjwaibel@gmail.com</a>&gt; wrote:<br class=""><br class="">Here’s my question: <br class=""><br class="">I've installed the latest MacPorts and my issue is that if I start apache2 using the command "sudo port load apache2” I can then find my website from outside my network. &nbsp;However, after restarting my Mac and I cannot find my website anymore. &nbsp;It turns out if I turn off macOS’s Firewall I can then find the website from the outside again. &nbsp;The other way I can solve it is by doing "sudo port unload apache2” and then "sudo port load apache2”, which seems to open port 80. &nbsp;However, after a restart the port is not opened, but apache2 is running. &nbsp;So is MacPorts not compatible with El Capitan’s Firewall?<br class=""><br class="">Thank you for any help!<br class=""></blockquote><br class="">Writing to the macports-users mailing list is probably the right thing to do. I'm Cc'ing the list now. To reply, please make sure you're subscribed to the list first.<br class=""><br class="">I've also been frustrated with the new macOS firewall for some years. I don't understand it. Maybe someone else on the list does and can give us both some advice.<br class=""></div></div></blockquote><div><br class=""></div></div>OK, the solution was actually very simple. I added the httpd application to the Firewall. It is located here:<div class=""><br class=""></div><div class=""><font face="Monaco" class="">/opt/local/apache2/bin/httpd</font></div><div class=""><br class=""></div><div class="">This survived a reboot for me.&nbsp;</div><div class=""><br class=""></div><div class="">Steps to add it (sorry if this is obvious):</div><div class="">&nbsp;1. Starting from the Terminal type:</div><div class="">&nbsp; &nbsp; - cd&nbsp;/opt/local/apache2/bin/</div><div class="">&nbsp; &nbsp; - open .</div><div class="">&nbsp;2. Open System Preferences-&gt;Security &amp; Privacy-&gt;Firewall tab.</div><div class="">&nbsp;3. Click the lock to unlock it.</div><div class="">&nbsp;4. Click Firewall Options…</div><div class="">&nbsp;5. Click +</div><div class="">&nbsp;6. In Finder, drag “httpd” (now visible in Finder from Step 1) to the dialog.&nbsp;</div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="6AE61F8B-55B6-4A72-9C69-6F639A4B1876" height="445" width="563" apple-width="yes" apple-height="yes" src="cid:E7B98254-7767-4A12-ACD1-2DDF2520418B" class=""></div><div class=""><br class=""></div><div class="">Please let me know if this works for you too and I will add these steps to the wiki.&nbsp;</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Cheers!</div><div class="">Frank</div><div class=""><br class=""></div></body></html>