赞
踩
适用OSX 10.10之前版本:
# 开放8020端口
sudo ipfw add 8020 allow tcp from any to any dst-port 8020
参考资料:
How can I open a port (not application) in the OS X 10.6 firewall?