There is a problem with port number collisions when deploying multiple tomcat on the same server, so you need to modify the Tomcat configuration file Server.xml, as an example of TOMCAT7.
First, learn about several of the main ports of the following Tomcat:
Where 8080 is an HTTP port and 8443 is an HTTPS port8005 for remote Stop service port8009 is
Because of the work required, you often use Remote Desktop to connect to a Windows server. Windows has a default Remote Desktop port number of 3389, to increase server security, in addition to the hardware device rules, you can also use the Windows-brought policy to increase the security of Windows Server.Below take windows2008r2 as an example, set up two kinds of strategies:(two kinds of any one, can not b
Target: In a Windows environment, use the netstat command to see if a port number is occupied and which process is occupied.Action: The operation is divided into two steps: (1) Check that the port is occupied by that PID; method one: Targeted view port, using commandNetstat–ano|findstr "(a) FigureMethod Two: View all,
Find the service name corresponding to the port number in linuxSearch for the corresponding service name 1) grep-w port number/etc/services 2) grep "\ B port number \ B"/etc/services. Port
When installing oracle on Linux, I accidentally installed the listener twice. The port number of the listener is changed to 1522 instead of the default 1521. The client has not been connected for a long time, finally, we found that the port number of listener is incorrect. To change the listener
In Windows:In the command line (win+r, enter cmd), enterNetstat-ano|findstr "Port number"Can seeThe last "11912" is the process number (PID). We open the Task Manager, sort by PID, find the corresponding process,We right-click this process, select "End Process", OK. You can kill the process that occupies the port.PS: If there is no PID column in Task Manager, you
In the system, locate the Servlet.xml file under the Conf folder in the Tomcat installation directory.(1) Locate the following code in the Servlet.xml file:connector port= "8080" protocol= "http/1.1"connectiontimeout="20000"redirectport="8443" /> (2) Change the port= "8080" in the code above to port= "8081" to set the Tomcat default
:2929 117.79.91.18:80 established 4732TCP 192.168.3.230:2930 117.79.91.18:80 established 4732TCP 192.168.3.230:2931 117.79.91.18:80 established 4732 2. View the usage of the specified portc:\>netstat-aon|findstr "9050" protocol Local address External Address Status PID TCP 127.0.0.1:9050 0.0.0.0:0 LISTENING 2016 P: See, Port is occupied by process number 2016 process, continue to execute the follo
There is a problem with port number collisions when deploying multiple tomcat on the same server, so you need to modify the Tomcat configuration file Server.xml, as an example of TOMCAT7.
First, learn about several of the main ports of the following Tomcat:
Where 8080 is an HTTP port and 8443 is an HTTPS port8005 for remote Stop service port8009 is
Using system;Using system. Collections. Generic;Using system. text;Using system. Net; // reference added for ipendpointUsing system. net. Sockets;
Namespace getclntip{Class Program{Static void main (string [] ARGs){Tcplistener = new tcplistener (9000); // The listening port number, which can be modified as neededTcplistener. Start ();
// Loop for listenWhile (true){Socket sock = tcplistener. acceptsocket
Apache port number problem (WAMP is a beginner) after the apache port number is changed to 8088, restart the service http: // localhost is not easy to use and must be changed to http: // localhost: 8088 to use http: // localhost/phpmyadmin/must be changed to htt apache port
To modify the Tomcat port number steps:1. Locate the Conf folder under the Tomcat directory;2. Enter the Conf folder to find the Server.xml file;3. Open Server.xml file;4. Find the following information in the Server.xml fileexecutor= "Tomcatthreadpool" port= "8080" protocol = "http/1.1" connectiontimeout= "20000" redir
To modify the port number of an oracle 10g rac listener to 1523, rac1523To modify the port number of an oracle 10g rac listener to 1523I,Modify listener. ora and change 1521 to 1523. Back up the file in advance for quick recoveryII,Modify tnsnames. ora, change the value of remote_listener in tnsnames. ora to 1523, and
Tomcat download, unzip after the WebApps directory comes with several webapp:* Docs Documentation: This is a static page set that you can read without starting Tomcat* Examples of examples* Hostmanager Host Manager* Manager Application Manager* Root directory: This app can access the above four apps, the app is the default app, this app is very simple, only some resource files and a JSP page.After you install Tomcat, start Startup.bat in the bin directory. In the browser address bar input localh
to modify the Oracle 10g RAC Listener Port number 1523OneModify the Listener.ora to change the 1521 to 1523. Make a backup of the file in advance for quick recoveryTwoModify the Tnsnames.ora, change the remote_listener corresponding value in the Tnsnames.ora parameter to 1523, make a backup of the file in advance for quick recoveryThreemodifying Local_listener database initialization parameters alter system
At the end of a project, it is often mapped directly to an IP address as needed. At this point you need to remove the port and project name, in the time of the visit. The following examples provide a way to implement this.
1. When entering Tomcat_home, create a folder and name it WebDB (here is webdb, which can be modified to other names as needed. )。
2. Go into the WebDB folder and create a folder in which root (where Root is capitalized), and copy t
introduction of Redis package in Project
Download the jar package and import your own project based on the jar package path given in the previous article. (Jedis-2.7.2.jar)
second, connect with Redis
(1) Connection IP and port number, connection password modification
By Redis the IP address and port number of the ser
Everyone knows. Linux is case sensitive. Windows. But the same port number parameter. The use of SCP and SSH commands is different.
In the SCP command. Uppercase is required. As follows:
[Root @ localhost data] # SCP-P 28 fina_info20120904.zip root@58.213.14.170:/home/huanliu/Data
In the SSH command, it is in lower case. As follows:
[Root @ localhost Dist] # ssh-P 28 58.213.14.170Root@58.213.14.170's pa
The first line starting with no # In master. cf should be SMTP Inet n-n -- smtpdThis line indicates the SMTP process andSMTP 25/tcp mailSMTP 25/udp mailCounterpartAppend a row to the end and modify the previous name, as shown in figureSmtp2 Inet n--smtpd,After saving, add a server process port number in/etc/services, for example:Smtp2 26/tcp mail2Smtp2 26/udp mail2After saving, reload does not work. If you
Error
in Windows : Run Tomcat times wrong meaning: 8,080-bit display port is occupied by other processes workaround:
1, Netstat-ano |findstr 3306//view 3306 ports exist
2, Tasklist |findstr 3036 (PID number)//view PID 3036 is what program in use
3, taskkill/t/f/pid 3036//Force (/F parameter) All processes that kill PID 3036 include child processes (/T parameters)Linux under To view the Tomcat process n
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.