This article only shows how to open the 80 port specific principle aspects here do not do too much discussion.After the release of Ubuntu10 Ubuntu disables the use of 1-1024 ports for ordinary users. This way, when we directly change the port in Tomcat's Server.xml, port 80 is not enabled properly. In Catalina.out we will find the following error message.Severe:failed to initialize end point associated with Protocolhandler ["http-bio-80"]Severe:failed
Look at the port:Ps-aux | grep TomcatA tomcat process with no 8080 ports found.Use command: NETSTAT–APNView all process and port usage. Discover the following list of processes, where the last column is Pid/program name8080 ports were found to be occupied by the Java process with PID 9658.Further use of the command: Ps-aux | grep Java, or directly: Ps-aux | grep PID ViewYou can clearly know that the 8080 po
Take Tomcat as an exampleUse the command:Ps-aux | grep TomcatA tomcat process with no 8080 ports found.Use command: NETSTAT–APNView all process and port usage. Discover the following list of processes, where the last column is Pid/program name8080 ports were found to be occupied by the Java process with PID 9658.Further use of the command: Ps-aux | grep Java, or directly: Ps-aux | grep PID ViewYou can clear
The so-called bind (BIND) refers to someone else connected I can only through the port I bind, equivalent to, I bought a mobile phone, others want to contact me, must know my mobile phone number, this time, I need to do? I need to plug in a phone card and fix a phone number so someone can contact me via this phone number. Phone card, fixed a phone number, similar to binding (BIND) process, binding (BIND) in order to fix a port number, the other network program can find the port number, find this
Look at the port:Ps-aux | grep TomcatA tomcat process with no 8080 ports found.use command:NETSTAT–APNView all process and port usage. Discover the following list of processes, where the last column is Pid/program name8080 ports were found to be occupied by the Java process with PID 9658.further use of the command:ps-aux | grep Java, or directly: Ps-aux | grep PID ViewYou can clearly know that the 8080 port
1. TopicsOld boy Education Daily-May 2017 11-Basic points of knowledge:What is the concept of listening ports in Linux systems?2. Refer to the answerThe concept of listening port involves the concept of network concept and TCP state set conversion, which may be more complicated and inconvenient to understand, can be understood by simple?650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M02/95/5C/wKioL1kURfvzX2c_AAB6zTz51RE104.png "title=" QQ pic
To view the occupancy of an end port: lsof-i: Port numberPrerequisite: First you must know that the port is not independent, it is dependent on the process. When a process is turned on, its corresponding port is turned on and the process shuts down, and the port is closed. The next time a process is turned on again, the corresponding port is turned on again. Instead of purely understanding that a port is closed, you can disable a port.1. You can use "NETSTAT-ANP" to see which
Start Tomcat services using Authbind This would allow the user to start ports less than 1024x768 we do not need to redirect or Ipta Bles.
Apt-get Install Authbind-y
To install Authbind software
Chmod-r 755/etc/authbind
Group should be user group.
CHOWN-RH Root:group/etc/authbind
After that run the below commands
Cd/etc/authbind/byuid
As an example lets Imagne the user ID is the can use your user
A few days ago, a switch cascade using a Cisco 2950 switch and a 100MB port of Tp-link 24 ports. Causes the Cascade ports on the Cisco 2950 device to be in use one day later, the next morning when the port shows err-disabled. The network is not working. How to deal with?To view the interface status:GX-SW-2950-01#SH Interfaces F0/2FASTETHERNET0/2 is off, line protocol was down (err-disabled)Hardware is Fast
1, if know 192.168.1.100 host address, how to view the port of the host connection switchFor use on core switches: show ARP | In 192.168.1.100Internet 192.168.1.100-8480.2D0D.1CCC ARPA Vlan1Know the MAC address of the 192.168.1.100 host through the above2. Use: Test#show mac address-table Address 8480.2D0D.1CCCMac Address Table-------------------------------------------Vlan Mac Address Type Ports---- ----------- -------- -----8480.2D0D.1CCC DYNAMIC GI
due to the accidental destruction of Linux system, can not telnet after recovery, as long as the client a connection to the Linux server to return "Telnetd:all network ports in use" string, SSH connection is also invalid! At first it was suspected that the port was occupied by another program, However, when viewed with NETSTAT-ANP, 23 ports are not used. What's the reason? View/var/log/secure file found som
try to access:systemctl stop firewalldsetenforce 0systemctl start httpd
The configuration file for a virtual Web host of multiple domain names and ports is in the regional configuration item under the installation directory, and its main form is as follows:Options followsymlinks//control options, allow use of symbolic linksAllowOverride None//Do not allow overlay configuration in the implicit control fileOrder Deny,allow//application
CABLE" to connect with COM ports, "Null modem CABLE" is roughly "crossed Modem line", and the crossover line means similar to the wire, which is used to "back-to-back" connection two DTE devices, Both ends are 9-pin D-type female connector, inserted into the management station and the server's COM mouth, in order to facilitate the identification of recommendations are the first COM port. This line can be made by itself, you can also go to the compute
How IIS modifies the 80 port
If you want to modify IIS without using the 80 method, it's easy to find in our IIS Manager, IIS management and then change 80 to 81.
Apache modifies the listening port by:
Open httpd.conf
Modify Listen 80 for L Second World collation release Isten 81
Apache can monitor more than one port at a time to implement multiple HTTP services
Just add a line like Listen 82
Similarly, IIS can modify the default port to avoid conflicts
The modification method is similar
When you start Apache today, it always prompts for failure, very simply, using Netstat-ano to discover that 80 ports are occupied. As shown in the figure:
According to PID: View the process name of PID in Task Manager
Since it is system. Then the real system should not be returned.
But the process of other products of Microsoft is running.
"Note: I have ended the IIS ADmin service in the service Services.msc"
But in fact the IIS service is
Typically, the registry port is configured:
-dcom.sun.management.jmxremote.port=9123
The RMI server port can also be configured after JDK7 and can be configured to be the same.
-dcom.sun.management.jmxremote.rmi.port=9123
But there is also a random port not resolved ... Or is this buddy persistent, finally opened the bugHttp://stackoverflow.com/questions/20884353/why-java-opens-3-ports-when-jmx-is-configuredRELATED LINKS
https://issues.apache.org/bu
8005
Turn off the Tomcat communication interface
8009
Communication interface with other HTTP servers for HTTP server collection
8080
Establish HTTP connections, such as browser access
Each tomcat needs a door-to-door set of ports.
If multiple tomcat is installed on the same operating system, you need to allocate 3 groups of 3 ports, a total of 9 different
A lot of users ask the most questions is: I use scanning software to sweep a machine on a number of open ports, but those ports in the end what is the use of Ah, today, I use a real scan to tell you the use of the port swept to you.
Swept host: 192.xxx.xx.x
Host IP number: 4
Security Vulnerabilities found: 7
Security Weaknesses: 45
System: Standard:solaris 2.x, Linux 2.1.???, Linux 2.2, MacOS
Telnet (23/TCP
User Access Verification
Password:
Idc-3750g-12s-01>ping 192.168.50.47
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.50.47, timeout is 2 seconds:
!!!!!
Success rate is percent (5/5), round-trip Min/avg/max = 1/1/1 ms
Hc-3750g-12s-01>sh ARP | In 192.168.50.47
Internet 192.168.50.47 2 0030.4825.4441 ARPA Vlan50
Idc-3750g-12s-01>sh mac address-table Dynamic address 0030.4825.4441
Mac Address Table
-------------------------------------------
Vlan Mac Address Ty
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.