WinXPCMD------------->netsh winsock reset=============Related knowledge:The netsh winsock reset command means to reset the Winsock directory. If there is a problem with the Winsock protocol configuration on a machine that will cause problems such as network connectivity, you will need to reset the Winsock directory with the Netsh winsock reset command to restore the network. Winsock is a Windows network programming interface that starts with a built-in command from Windows XP SP2 and uses Netsh
corresponding ports on the queue is full of two casesThe somaxconn of the system can be modified in the following wayVim/etc/sysctl.confNet.core.somaxconn = 2048Sysctl-pIn PHP-FPM, there is an option for thisListen.backlog =-1This value, preferably not set to-1, 1 when the system is not able to set the number of settings, resulting in 502 appears2015/02/11 12:37:22 [ERROR] 25725#0: *1015645 connect () to Unix:/tmp/php-cgi.sock failed (11:resource temporarily unavail able) while connecting to up
for the third question cannot be fixed. This question is relatively simple. I found a code implementation section:
Self. master. minsize (325,150)Self. master. maxsize (325,150)
The fourth problem has not been solved yet, and the dialog box cannot be centered. The code found in Google Code Search is implemented in a similar way:
Self. Pack (expand = Yes, side = right, fill = both)
But it is strange that our code does not work in any way.
Summary:
1. Python web programming is very simple, and
In this paper, a complete example of the implementation of C + + to obtain IP, subnet mask, gateway, DNS and other local network parameters of the method for your reference, the specific complete example is as follows:
#pragma comment (lib, "Ws2_32.lib") #include
Nic eth0 IP modified to 102.168.0.1
Copy Code code as follows:
Ifconfig eth0 102.168.0.1 netmask 255.255.255.0
Gateway modified to 102.168.0.254
Copy Code code as follows:
Route add default GW 102.168.0.254
Linux command line Modify DNS
Copy Code code as follows:
echo "NameServer 202.202.202.20" >>/etc/resolv.conf
Restart Network Services
Copy Code code as follows:
background
Server reboot once, every time there will be a little problem, this time the problem is not normal access to the extranet (because the server needs to pass the Campus network certification), so began to toss.
ProcessFirst look at whether the DNS or something is normal,And then visit baidu.com and try it.
Found not normal access to baidu.com, so judge whether the campus network certification has not been, visit the Campus Network Certification site (172.18.2.2), found that can not p
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.