Important thing to say three times, it is strongly recommended to use the second Method! Second Method!;Ways to open ports:Method One: Command line mode1. Open port command:/sbin/iptables-i input-p TCP--dport 8080-j ACCEPT2. Save:/etc/rc.d/init.d/iptables Save3. Restart Service:/etc/init.d/iptables restart4.
Important thing to say three times, it is strongly recommended to use the second Method! Second Method!;Ways to open ports:Method One: Command line mode1. Open port command:/sbin/iptables-i input-p TCP--dport 8080-j ACCEPT2. Save:/etc/rc.d/init.d/iptables Save3. Restart Service:/etc/init.d/iptables restart4.
The ing function is mainly used to allow the Internet to access the computer currently mapped. First, we need to map the vro ports. Common open ports include 80, 21, and 3389, port 80 is a common port for websites, port 21
See how much the FTP default port is
Sometimes we need to look at the default port for a service, it's good to do under Linux, no need to search the Internet, the direct view of the "/etc/server" file can meet the demand. There is a mapping between the port number and the
Open a port in Windows Firewall
If the Windows Firewall blocks a program and you want to allow the program to communicate through the firewallSelect this program in the list of programs allowed by Windows Firewall (also known as the "exception List. To learn how to perform this operation, seeWindows Firewall for communication.
However, if the program is not list
In the first article, I believe that many people can do this without reading it. However, anyone who has used the Microsoft SerialPort class has encountered this embarrassment. When the serial port is closed, the software will be deadlocked. Oh, my God, I am not so arrogant. Forget it. Don't be so absolute. 99.9% of people have encountered this problem. I think only half of them actually solve the problem.
Oracle open port (cannot be connected through port ing) problem Oracle 9I is installed on Win2003, WIN2003 only opens port 1521, then remote telnet port 1521 can pass, but the database connection fails. The reason
Centos7 uses the firewall: lt; 1 gt; for example, to query whether port 9200 is opened by the following command: firewall-cmd -- query-port = 9200/tcp, return yes, indicating to open lt; 2 gt; run the following command to open port
Open the local MYSQL server port and the mysql server port
Sometimes someone else needs to connect to your database. At this time, you need to open the database port so that other hosts can connect to it. The steps are as follows:
1. O
scan, check the host online or not, do not send any message to the destination host, want to know whether the target host is running, and do not want to do other scans, this scanning method is very common)2,-SL (only in the network segment out of the host State, port and other information, query
firewall on and off (effective immediately, fail after reboot): $ sudo service iptables start #开启 $ sudo service iptables stop #关闭 firewall on and off (takes effect after reboot): $ sudo chkconfig iptables on$ sudo chkconfig iptables off To open the relevant port : Modify the/etc/sysconfig/iptables file to add the following: -A input-p tcp-m state--state new-m TCP--dport 22-j ACCEPT After modifying the i
Vi/etc/sysconfig/iptables-A input-m state–state new-m tcp-p tcp–dport 80-j ACCEPT (allow 80 ports through the firewall)-A input-m state–state new-m tcp-p tcp–dport 3306-j ACCEPT (Allow 3306 ports through the firewall)Special tips:Many netizens add these two rules to the last line of the firewall configuration, causing the firewall to fail to start, the correct one should be added to the default port 22 below the ruleAfter adding the firewall rules
Open the specified port in Linux, and specify the port in linux
After tomcat is installed in Linux, the input address http: // ip address on the client cannot be accessed, and port 80 cannot be accessed.
The Linux Firewall disables
Tags: netstat TPS state pad extranet Restart making fir inputExample:The steps to open port 10000 are as follows:1, modify the/etc/sysconfig/iptables file, add the following line:-A rh-firewall-1-input-m state--state new-m tcp-p TCP--dport 10000-j ACCEPTRestart IptablesService Iptables Restart2, restart the firewall, there are two ways to restart the firewallA) effective after rebootOpen: Chkconfig iptables
Set the open port of the CentOS firewall and the port of the centos FirewallWhen using CentOS, CentOS firewall sometimes needs to change the settings. The CentOS firewall is enabled by default. You can set the open port of the Cen
This is because you want to use Navicat to connect to the database and find that the connection is notBy looking at a lot of data and testing multiple times to find out because the firewall is not configured with Port 3306Words don't say, open the whole, similarly, 80
SVN open firewall port introduction, svn firewall portPreface
Due to the previous laziness, the firewall was shut down after the server was installed with svn. Recently, the server was told to show signs of virus, so the Firewall should be enabled, however, opening the firewall will lead to svn access failure, so now there is a new requirement to
Linux opens port 80
Day client There is a server in the same LAN can not access, eliminate the lamp environment problem, found that the firewall in the server did not open 80 ports. So I went to search the web and saw a way to add code to the script house.
The code is as follows
Copy Code
session state requests cannot be made to the session-state server. Make sure that the ASP. NET State Service (ASP) is started and that the client port is the same as the server port. If the server is on a remote computer, please check
default port of the TTS (Tiny Telnet Server) Trojan. Therefore, we recommend that you disable port 23.Port 25: port 25 is open to SMTP (Simple Mail Transfer Protocol) servers and is ma
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.