Article: How to set up proxy server under macOS system?
In our daily work and life, we often need to use proxy servers to visit some websites or bypass some network restrictions. So, how to set up a proxy server under MacOS system? Here are the specific steps.
1. Open system preferences.
In MacOS system, the method of setting proxy server is very simple. First, we need to open system preferences. You can click on the Apple icon in the upper left corner of the desktop, and then select the "System Preferences" option.
2. Enter the network settings interface.
In the system preferences, we need to find the "Network" option and enter the network setting interface. In this interface, we can see the current network connection status and related settings.
3. Configure the proxy server
In the network settings interface, we can see the "Advanced" button. Click this button to enter the advanced setting interface. In the advanced settings interface, we need to click the "Proxy" tab and select "Configure Proxy Server Manually".
In this step, we need to enter the proxy server address and port information. If you don't know the address and port of the proxy server, you can find relevant technical support or search for relevant information.
After setting, we need to check the "Use proxy server" option and uncheck "Automatically detect proxy settings" and "Automatically configure proxy settings". When you are finished, click OK to save the settings.
4. Test the proxy server
After completing the above steps, you can test whether the proxy server is available. You can open your browser and visit some restricted websites to see if you can visit them successfully.
In addition, the test can also be carried out in the terminal. You can enter the following commands in the terminal:
curl
If a "ConnectionRefused" error occurs, the proxy server settings are incorrect; If relevant content appears, the proxy server has been set successfully.
abstract
Setting up a proxy server under MacOS system is very simple. We just need to open the system preferences, enter the network settings interface, and configure the proxy server. In the actual use process, we need to pay attention to the correctness of the proxy server address and port, and test whether the proxy server is available.