国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

macos - The LAN cannot access the nginx server due to the firewall being turned on under mac
曾經(jīng)蠟筆沒有小新
曾經(jīng)蠟筆沒有小新 2017-05-16 17:25:30
0
1
2172

As the title states, I am on the os x10.10 platform, and the locally configured server environment is nginx php mysql. Local access to localhost and related functions are all normal, but they cannot be accessed on other computers in the LAN, so they cannot be demonstrated to others.

Then I found that if I turned off the firewall on the mac, I could access it normally. So the question is: How can other computers on the LAN still access my server for demonstrations while keeping the firewall on? I didn't find out where I can set anything in the firewall options, and I don't know much about the command line. ~-~

First, thank you!

曾經(jīng)蠟筆沒有小新
曾經(jīng)蠟筆沒有小新

reply all(1)
淡淡煙草味

Your problem is very similar to the one I encountered before

I refer to this article http://ju.outofmemory.cn/entry/154709 and finally realized that other computers can remotely modify and access the local webserver when the firewall is turned on

The main thing is to set nginx to be owned by root, then close nginx and then open it as root sudo nginx

However, my situation here is a bit special. After modifying the nginx permissions, I cannot access it immediately with the firewall turned on. It needs to be restarted.

I don’t know the specific situation. If you encounter a similar situation, you can try to restart after configuring the permissions

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template