Recently, when building a CentOS service, found that 22 ports are always unavailable, and Windows Telnet 22 port is not available, under CentOS NETSTAT-LNPT Check Port 22 is not listening, so the online search solution, but none can solve.Now gradually resolved.
One, iptables add 22 ports1. If you want to open the 22,80,8080 port, enter the following command/sbin/iptables-i input-p tcp–dport 80-j ACCEPT/sbin/iptables-i input-p tcp–dport 22-j ACCEPT/s
Web.config file. This property specifies the server on which the service resides and the ports to monitor:
Stateconnectionstring= "tcpip=myserver:42424"Cookieless= "false" timeout= "/>"
In this example, the State service runs on a 42424 port (the default port) of a machine named MyServer. To change ports on the server, edit the port value in the Hkey_local_machine\system\currentcontrolset\services\aspnet
One, how to view the port of your own process.
1. View PID
In Task Manager, select View \ column, and in the Columns tab, put the PID number on it and you'll see the PID number of the process in Task Manager.
2 find port number by PID
Enter Netstat-ano in cmdYou can find the PID number for the port and the application
Second, how to view the specified port is occupied.
If we need to determine who's taking up our 9050 port,
1. Windows platform
Execute under Windows command-line window:
C:\>netst
Tags: problem occupies net OID environment variable nbsp Port task managementDo you often encounter the use of ADB ports when doing Android development?The solution to this problem is simple, just set up a system environment variable to get it done.Setup method:Add system environment variable variable name: Adnroid_adb_server_portVariable Value: 8888 (You can set the port number according to your preference, it is recommended to set the large point of
SQL Publishing subscriptions, presumably everyone knows, but generally in the default of 1433 of the case, then 1433 for other ports, the release can still work properly?I met in a real customer scene.Well, don't want to write too much today, to simplify the test environmentPublisher Computer name win-01Distributor Computer name Win-01 (same as the one used for publishing)Subscriber Computer name win-02The test library used is YYIn the default port 14
/init.d/iptables statusAfter the installation of TOMCAT7, found in addition to the function to visit the outside world, in the cost of a few twists and turns, the summary steps are as follows:1. Modify the file/etc/sysconfig/iptables[Email protected] ~]# cd/etc/sysconfig/[Email protected] sysconfig]# VI iptablesThe contents of the file are as follows, note that the red line is newly added to open 8080 ports to the outside world.# Firewall configuratio
Download and install MySQL first ...Once configured, the default is to connect only from localhost. If you need a local area network connection (based on a LAN segment of 192.168 or 10.10 or 172.16), you need to do the following:First, login to the MySQL host command line and enter the following command:1, use MySQL;2.update usersethost =‘%‘where user =‘root‘;3,flush privileges;This will open the LAN connection.Similar on the WAN, adding configuration ports
Label:Modifying the 1521, 8080 ports used by Oracle XE Listener today, when helping developers demon install Oraclexe, there is a hint: [SQL]
Destination folder:d:\oraclexe\
Port for ' Oracle Database Listener ': 1521
Port for ' Oracle Services for Microsoft Transaction Server ': 2030
Port for HTTP listener:8080
As you can see, the Default Web console service port is 8080 and cannot be changed at installation time. After ins
Tags: led view BSP dir col Open Description Server playOpen VNC features and ports in VMWare ESXi for remote Management complete ChapterIn a number of forums to read the relevant articles, the total write is not complete. We will write the full version of all the resources. Detailed text is as follows!Step 1. Modifying the firewall configuration of an ESXi hostIn the/etc/vmware/firewall directory of the ESXi host, add the VNC firewall configuration fi
-byte protocol identifier (TPID). When the prefix 0 x is fixed, it indicates that the frame carries the mark information of 802.1Q.Two bytes of tag control information (TCI), including three fields.Priority domain, which occupies 3 bits, indicates the Priority of the message. values 0 to 7 are the highest Priority, and 0 is the lowest Priority. This domain is used by 802.1p.Standard Format Indicator (CFI) domain, 1bit, 0 indicates standard format, used in Ethernet; 1 indicates non-standard forma
Using Linux Shell to disable host ports in LAN in batches
Assume that there are multiple hosts in the LAN, and only the ssh service (port 22) can be activated. If other services are opened, all are disabled. Run a shell script to complete the above functions. In actual O M, you can use puppet and other tools to perform this function faster and better. Therefore, this case is only used to train your hands to familiarize yourself with common shell comm
This article mainly introduces how to find nine consecutive idle ports in Python. For more information, see this article. it mainly introduces how to find nine consecutive idle ports in Python, for more information, see
I. project requirements
To install a software, enter the idle port during configuration. Check whether a port of five platforms is occupied
Five platforms are windows, linux, aix, hp, and s
The aggregation transformation allows you to define groups for aggregations, rather than performing aggregations across all input data. For example, instead of looking for total company sales, you can find the total sales by region group.To define a group for an aggregate expression, select the appropriate input, input/output, output, and variable ports in the aggregation transformation. You can select multiple group by
As an embedded product, the company uses the ARM kernel and Linux operating system (not uClinux ). My recent work is to mount a previously prepared module (via serial port for communication) to the system, and control a series of work of this module through serial port, and require
Into a separate driver (not controlled by an application ). I also want to familiarize myself with the development method of the device driver in Linux. The Development Board of another company we bought, Linux, can n
Close dangerous ports with one click (preventing hacker intrusion)Dangerous, port, hackerCopy all of the following contentUse NotePad to save the suffixBatCopy From @ below as prompted
Copy codeThe Code is as follows: @ echo off
Color 1f
Title: Disable common dangerous ports
Echo.
Echo.
Echo this batch is used to start the firewall of the XP system and disable common dangerous
CentOS iptables is accessible only on ports 22 and 80.
Iptables is accessible only on ports 22 and 80.
Run the netstat-tnl command to check which ports are opened on the current server.
Ssh codeNetstat-tnl
View firewall settings
Ssh codeIptables-L-n
Open ports 22 and 80
Ssh codeIptables-a input-p tcp -- dport 22
In Linux, how does one view the developed port ?, View development ports in linux
Introduction: on Linux servers, it is often necessary to check whether certain ports of the system are enabled normally, or to know which processes occupy specific port services. Therefore, this command is very common, this article describes common methods for these commands.
1. check whether a specific port is enabled or occu
I. Relationship between ports and servicesThe correspondence between the port number and the corresponding service is stored in the/etc/services file. Most ports can be found in this file. Use the netstat commandThe displayed service name is also found in this file. Some people say that they can disable the port by comment out the corresponding port number in this file.I tried it but it didn't work. This me
in the Linux under, by default 1024x768 The following ports are to be Root can be used under other users, if you try to use it will be an error. At some point, we may consider that the program runs under the root account, but this may pose a security risk to the Linux System. How can you allow a non- root user to run a program that is less than the 1024x768 port? This article attempts to give some methods: The first method: SetUIDUser is set to the
Recently found that Apache failed to start, check log also no fruit, through the manual launch prompts the following error:
(OS 10048) typically each socket address (Protocol/network address/port) is allowed only once. : Make_sock:could not bind to address 0.0.0.0:80
No listening sockets available, shutting down
Unable to open logs
This is due to the 80 port is occupied, the use of 80 ports to stop the process.
How do I see that process takes up
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.