Reproduced from: https://www.cnblogs.com/jtestroad/p/8031850.html
Important things to say three times, strongly recommend the use of the second method! second!;
Ways to open ports:
Method One: Command line mode1. Open port command:/sbin/iptables-i input-p TCP--dport 8080-j ACCEPT2. Saving:/etc/rc.d/init.d/iptables Save3. Restart Service:/etc/init.d/iptables resta
Introduced
CentOS 7 does not use Iptables by default, so it is not possible to open 80 ports by editing the Iptables configuration file
CentOS 7 uses a FIREWALLD firewall
To query whether to open port 80:
[root@joe-pc ~]# firewall-cmd--query-port=80/tcp
No
Apparently, port 80 is not
It took several years of Windows2003, and it took many years to SQL Server, but this was the first time the problem was encountered. Afternoon friends encountered a phenomenon, in the Win2003 Simplified Chinese server version of the installation of SQL Server2000, the default installation, everything is normal, but after the installation is completed to view the port, 1433 port incredibly not open, of course, not to mention remote connection.
The gen
It is important to note that the firewall is managed by iptables in CentOS 6 and the firewall is managed by FIREWALLD in CentOS 7.1. In CentOS 7Use the following commandFirewall-cmd [--zone=As an example,Firewall-cmd--zone=public--add-port=8080/tcp--permanentExplain:--zone Scope--ADD-PROT=8080/TCP Port/Communication protocol--permanent is permanently active and will not expire if this parameter is not resta
, once encrypted can not be solved, to protect the Windows XP system dual password80. Services.msc---Local Service settings 81. SNDVOL32-------Volume Control program 82. Sfc.exe--------System File Checker 83. Sfc/scannow---WINdows File Protection 84. Tsshutdn-------60 seconds Countdown shutdown command 3. TSSHUTDN-------60-second Countdown shutdown command 85. Tourstart------XP Brief Introduction (the Roaming XP program that appears after installation) 86. Taskmgr--------Task Manager 87. EVENTVW
Because you must run the appropriate emulator or connect to the real machine before running Monkeyrunner, Monkeyrunner cannot connect to the device, there are two ways to run the emulator: 1, execute simulator 2 through Eclipse, invoke simulator in CMD, This document addresses the problems and workarounds that occur when you open the emulator in CMD.1. Create sim
some of the properties of the child process, such as the appearance of the main window, the priority of the process, and so on.If you need to run in the new CMD window, you need to set up Creationflags =subprocess under Windows. Create_new_console.
Subprocess. PIPE
When you create a Popen object, subprocess. Pipe can initialize stdin, stdout, or stderr parameters. Represents a standard stream that communicates with a child process.
Subprocess. STDO
Tags: c file data a set SQLRecently in the production of an installation package, need to install the time to execute the MySQL script, do a batch, but found that always execute to insert Chinese when the error, or insert Chinese is garbled.Online check a lot of information, said is to change the code to GBK what, after all, still unsuccessful.Finally, after many tests, we now share the solution.First step: Open
Some friends may have met on the "My Computer" when the camera to open the prompt "failed to create a video preview, please check the device connection," but can be through the QQ video, this is how it? How to solve?
Killing virus
Generally encountered such problems, first of all, to the computer antivirus, if it is a virus to cause file damage, need to kill the file to repair the virus, to avoid "sympt
Some friends may have met on the "My Computer" when the camera to open the prompt "failed to create a video preview, please check the device connection," but can be through the QQ video, this is how it? How to solve?
Killing virus
Generally encountered such problems, first of all, to the computer antivirus, if it is a virus to cause file damage, need to kill the file to repair the virus, to avoid "sympt
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.