Port number for InterFormNG2

Port number for InterFormNG2

The default port is of InterFormNG2 is 8086. The list of all used port numbers is found in the prerequisites section.

The means, that if the InterFormNG2 service is running, then you can access InterFormNG2 locally via:

https://127.0.0.1:8086 or http://127.0.0.1:8086 

- depending on if you have activated https or http during install.

In order to use another port number you need to change the configuration file, application-default.properties. It is highly recommended to save a copy of the file before you change it.

On the Windows platform

The file is normally placed in the path shown below, but it is configurable during installation:
C:\Program Files\InterFormNG2\application-default.properties

On the IBM i platform
The file is placed in the IFS inside:
\iformng2\InterFormNG-shell\Core
You add or change a line in the properties file with server.port= as below.
# The format used for the keystore.
server.ssl.key-store-type=PKCS12
# The path to the keystore containing the certificate
server.ssl.key-store=keystore/interformng2.p12
# The password used to generate the certificate
server.ssl.key-store-password=password
# The alias mapped to the certificate
server.ssl.key-alias=interform
# JWT cookies should only be sent over HTTPS
jwt.secure.cookie=true
# Trust store location
trust.store=keystore/interformng2.p12
# Trust store password
trust.store.password=password
server.port=8081 

In the example above we have chosen to access InterFormNG2 via the port number 8081, instead of the default 8086.

 

Because of authority it might be necessary to copy the file to another directory, edit the file here, and then copy and overwrite the original file.

It is recommended to create a copy of the original file before editing it.

    • Related Articles

    • ng:page-number

      This section explains the built-in XPath function: ng:page-number() This function outputs the current page number of the output. The function has no parameters. You can use this function with other functions in an XPath expression - unlike the ...
    • ng:last-page-number

      This section explains the built-in XPath function: ng:last-page-number() This function outputs the total number of pages of the output. The function has no parameters. You cannot use this function with other functions in an XPath expression (it can ...
    • Print on Direct Socket printer

      This workflow component can be used, if you have too many printers to register them manually. The use of this component requires, that you have a license for InterFormNG2, that enables the use of an unlimited number of printers. With this component ...
    • REST webservice basic

      The REST webservice basic is a web service that can receive http/https calls using none or basic authentication. For production REST webservice OAuth2.0 is recommended. The parameters of this workflow input type are: Path The url this will be called, ...
    • Remote output

      If you want InterFormNG2 to allow a remote client to connect the current tenant, then you need to configure the remote output as below. A requirement is, that remote output is activated in the global settings. In order to setup remote output ...