A typical URL to a PowerServer application (both Web and mobile) that is deployed to the PowerServer is similar to this: http://192.0.0.80:80/sales/, which normally consists of four or five parts.
It is important to know the application URL, if you or the end user want to run the Web application in the Web browser, or add the mobile application in the Appeon Workspace. If you are not sure of the application URL, you can run the application via the project loader provided by PowerServer Toolkit where the application URL will be automatically input; and remember to remove any index file from the end of the URL to make sure the URL is generic for different environment (see below table for detailed explanation).
Application URL |
Description |
---|---|
Protocol |
Uses "http://" typically. If your Web server is configured as an SSL Web server, use "https://". |
IP address or domain name |
Uses the IP address or domain name of the Web server. Using localhost listeners in a production environment is not recommended. |
HTTP or HTTPS port (Optional) |
Specifies the port number that your Web server accepts for HTTP or HTTPS connections. If several Web servers are running on the same machine, make sure that the port specified is a port of the PowerServer Web server. |
Application name |
Specifies the application name. It is the name that you input in the Web Folder field in the application profile configuration window (For more, see Basic Settings). |
Index file (Optional) |
For mobile apps, make sure to specify no index file at all. For Web apps, make sure to specify no index file, as different index file will be loaded automatically according to the Web browser type and the environment (32-bit or 64-bit). When you send the URL to end users, make sure you remove any index file from the end of the URL, so that the URL is generic for different browsers and environment, for example, http://192.0.0.80:80/sales/ is generic, while http://192.0.0.80:80/sales/x32_application.htm is not (it is accessible in 32-bit environment but not in 64-bit environment) and also http://192.0.0.80:80/sales/multi_browser_index.htm is not (it is accessible in FireFox, Chrome and Opera but not in Internet Explorer). |