Introduction to apache startup commands and ports

Source: Internet
Author: User

1. After apache is installed successfully, the operating system is managed as a service:

(1. We can use this service Start and closeApache, (2. You can also use apache moniter to manage apache. (3. Another way to manage apahce is to manage apache through the command line.
Httpd starts httpd-k start shutdown to close
Httpd-k start restart 2. port (1. All our services need to listen to a port mysql (3306) oracle (1521) mssql (1433)

Ftp (21) ssh (22) apache the web service listens on port 80 by default... (2. A machine can have Port 1-65535. (3. In actual development, we often use netstat-an to check which ports are being monitored, if abnormal port listening is found, you can disable the port netstat-anb. By modifying the command, we can find out which program is listening to the port and close it. (4) If a port 80 is listened to by apache, the port cannot be listened to by other applications (one port can only be listened to by one program) (5. ports are divided into famous ports 1-1024, and other ports can be allocated by themselves.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.