Access SSLWeb applications in Linux

Source: Internet
Author: User
Access the SSLWeb application in Linux-Linux Enterprise Application-Linux server application information. For more information, see. In this project, this problem occurs because the server must be configured on Linux, the client is Windows, and the server software is TOMCAT, and SSL connection is required to access the Web application, the firewall settings provided by Linux allow normal access in Linux, such as https: // localhost/app.

Windows in the same LAN cannot be accessed. Check the reason for blocking the SSL connection to the north firewall. Modify the solution to enable the 443 (default SSL port) on the firewall) port protocol:

The procedure is as follows:

Run the following command on the terminal:
Vi/etc/sysconfig/iptables

Find the TCP: 443 port setting. If no line is added below port 80:

-A rh? Firewall? L-INPUT? M state -- state NEW? P tcp? M tcp? Dport 443? Syn? J ACCEPT

Modify the port 80 format.

Restart the iptables firewall to make it take effect. The command is as follows:
/Etc/init. d/iptables restart

After the configuration is complete, access the service externally.

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.