Suppose Tomcat's directory is/usr/local/apache-tomcat/
1, open the Tomcat configuration file#vi/usr/local/apache-tomcat/conf/server.xml
2, open the Tomcat configuration file Press/8080 Fast Search
3, modify the port, press I, the 8080 modified to 80
4, press: Wq Save and exit
5, restart Tomcat
#/var/apache-tomcat/bin/shutdown.sh
#/var/apache-tomcat/bin/startup.sh modifies the port number: By
RHEL7 after installation, the SSH service is turned on by default for remote configuration, but the default port 22 is not safe, the default port is generally not recommended, then modify the SSH default
How do I modify the default SSH port in the CentOS system?
The default CentOS default port is 22, and you'll find a lot of log files in a long time, which is the error log left by the scan attack. So what we're going to do today is to change the number that we know, which r
In Linux, apachemysql and other services cannot be started after the default port is modified. solution: two webservers are installed on the server, and one is nginx on port 80, with no exception. Another port is Port 8001 bound to apache, but the error "Starting..." is repo
Co-management System Summerside uses Tomcat's default port 8080, with the exception of 8080-port Tomcat consuming 8005,8009 and 8443 ports. If these 4 ports are already occupied, you can modify the collaborative management system to use a different port.
The modification method is as follows:
1. If you have IIS or Ap
To improve the security of the server, this lesson is mainly about how to modify the MySQL port under Linux. Support for most system changes in Linux environments, such as CentOS and Ubuntu.
Demo Environment:
Linux CentOS 6.3 X32Mysql 5.1.66
First, edit my.conf
Vi/etc/my.conf
Second, add port=3506 under [mysqld]
Third, restart the MySQL service
#/etc/init.d/mysqld restart
Tips:0, 3506 is the
Phpstorm for Web debugging, the default is the port number 63342, in the configuration of the local PHP environment when the default ports are not necessarily 63342 this, more is the system default port number 80, then the problem arises, How to change 63342
We know that the Tomcat server uses the default port of 8080, and the default port for Oracle services in memory is also 8080, and if we are going to use the Oracle database to run on Tomcat at this point, there must be one that cannot use port 8080, and this time, You need
Solve the Problem of [warn] _ default _ VirtualHost overlap on port 80, the first has precedence in httpd of apache2. A new VirtualHost is added to the conf file, and the domain name is www.ligh.com. At this time, the server has a total of two virtualhosts and the apachectl restart has the following warning prompt: [warn] _ default _ VirtualHost overlap on
Using the default port 3389 is a dangerous thing when you enable remote connections to the Windows operating system, and usually we change it to a more unique port so that the target system does not directly expose the Remote Desktop Connection to the network environment.Step 1: Open "Start → run" and enter "regedit" to open the Registry Editor: [Hkey_local_mach
Modify the default XDB listening port Oracle9i default xml db to set the default HTTP port to 8080. This is a very common port, which is used by many other webservers, if we have installed it, we 'd better modify it to avoid confl
The default port of the Remote Desktop Terminal Service is 3389. to prevent malicious connection, you need to change the default port. You can open the Registry Editor and expand it in sequence.
"HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ WDS \ rdpwd \ TDS \ Tcp" branch. The "portnum
The default CentOS default port is 22, and you'll find a lot of log files in a long time, which is the error log left by the scan attack. So what we're going to do today is to change the number that we know, which reduces the probability of being scanned, and it increases security.
1, login ssh Modify configuration file, enter the following command
Vi/etc/ssh/ssh
from the online excerpt are as follows:A, () just re-open a sub-shell for a sequence of commands to executeb,{} Executes a string of commands in the current shellC, () and {} All put a string of commands inside the parentheses, and the commands are separated by a number;D, () The last command can be used without a semicolone,{} The last command to use a semicolonf,{} must have a space between the first command and the opening parenthesisG, each command in () does not have to have spaces in pare
SNMP default port communication using UDP 161, in the process of installing some monitoring software, often prompted the port is occupied, and so on how to modify the system's default SNMP portWindows modifies SNMP ports1 Opening a Services filePath: C:\Windows\System32\drivers\etc2 modifying portsModified before: SNMP
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 direc
First, modify the SSH default port
1, edit the SSH configuration file:
#vi/etc/ssh/ssh_config#vi/etc/ssh/sshd_configThe above 2 files, all remove the #port22 before "#", change 22 to a custom port, such as 2222#vi/etc/service the SSH-related port to 2222#service sshd Restart
Linux under the
First, modify the default port numberThe first step:Vi/etc/sysconfig/iptablesAdd the configuration of the modified port number-A input-p tcp-m state--state new-m TCP--dport 22001-j ACCEPTIn this example, 22001 ports are usedSave the configuration and restart the firewall after adding.Service Iptables Save (save firewall configuration)Service iptables Restart (res
1th step: If you want to restrict access to Linux via SSH IP, you can do the following:
First: Modify/etc/hosts.deny, add Sshd:all in it, and note that you can't add the # number.
Then: Modify:/etc/hosts.allow, in which the following settings are made: sshd:192.168.1.16
This setting only allows 192.168.1.16 IP to log on to the Linux machine via SSH.
Of course, as a server, do not install the GNOME and KDE graphical interface, you can increase the safety factor.
2nd Step: Modify the configur
UbuntuServer12.04 install tomcat 6 and mysql $ sudoapt-getinstallsysv-rc-conftomcat6mysql-server $ sudoufwallow80/tcp $ sudosysv-rc-conftomcat6on modify tomcat port, we seem to know that here we change 8080 to 80: $ sudovi/etc/tomca
Install Tomcat 6 and mysql on Ubuntu Server 12.04
$ Sudo apt-get install sysv-rc-conf tomcat6 mysql-server$ Sudo ufw allow 80/tcp$ Sudo sysv-rc-conf tomcat6 on
To modify the tomcat por
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.