Difference between revisions of "Controlling Port Access"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Controlling Port Access ===
<includeonly>=== Controlling Port Access ===</includeonly>
 
====Firewall Ports====
====Firewall Ports====
Platform Application Servers are typically deployed behind a Firewall. The firewall needs to open the ports those servers use.  
Platform Application Servers are typically deployed behind a Firewall. The firewall needs to open the ports those servers use.  
Line 14: Line 13:
====Changing Port Assignments====
====Changing Port Assignments====
To change port assignments:
To change port assignments:
# Editg <tt>{install_dir}/tomcat/conf//tomcat/conf/server.xml</tt>
# Edit the following files available in <tt>{install-dir}/profiles/IS_default/configuration/com.softwareag.platform.config.propsloader</tt> as follows:
# Modify the port-assignment attributes:
:*com.softwareag.catalina.connector.http.pid-agileappsHttp-8283.properties - In this file, set the '''port''' value to 80 and '''redirectPort''' value to 443.  
:{|
:*com.softwareag.catalina.connector.https.pid-agileappsHttps-8284.properties - In this file, set the '''port''' value to 443.
<pre><Connector port="80“ … />
'''Note:''' If you change the http port (80), you will need to specify the port number in the URLs for the document servers recorded in the database. To see those values:
...
<Connector port=“443“  … /></pre>
|}
''Note:'' If you change the http port (80), you will need to specify the port number in the URLs for the document servers recorded in the database. To see those values:
:{|
:{|
<pre>
<pre>
Line 28: Line 23:
</pre>
</pre>
|}
|}
Those URLs are read when an application server starts, and used as the forwarding-target for document-access requests.
Those URLs are read when an application server starts, and used as the forwarding-target for document-access requests.
<noinclude>
<noinclude>

Latest revision as of 07:30, 24 March 2020

Firewall Ports

Platform Application Servers are typically deployed behind a Firewall. The firewall needs to open the ports those servers use.

The default ports are:

  • Non SSL port 80
  • SSL port 443

The SSL port always needs to be open. If the application is to be accessed only using https, the http port can be blocked. If the platform's Sites capability will be used to provide a public URL, then the http port needs to be open.

Notepad.png

Note: For secure communication, you should always access the platform using SSL (https://yourdomain/networking/Service). The platform provides a default self-signed certificate which is used by the Application Server. This certificate can be replaced with your own certificate, purchased from a certificate-signing authority. For more instructions on that process, see Managing SSL Certificates.

Changing Port Assignments

To change port assignments:

  1. Edit the following files available in {install-dir}/profiles/IS_default/configuration/com.softwareag.platform.config.propsloader as follows:
  • com.softwareag.catalina.connector.http.pid-agileappsHttp-8283.properties - In this file, set the port value to 80 and redirectPort value to 443.
  • com.softwareag.catalina.connector.https.pid-agileappsHttps-8284.properties - In this file, set the port value to 443.

Note: If you change the http port (80), you will need to specify the port number in the URLs for the document servers recorded in the database. To see those values:

Mysql> SELECT document_server,import_document_server,public_document_server 
       FROM relationals.NETWORK_GLOBAL_PROPERTIES;

Those URLs are read when an application server starts, and used as the forwarding-target for document-access requests.