Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Changing Default Port Range for DeployR 7.2 on Windows


View products that this article applies to.

By default, DeployR 7.2 will use the port range 7200-7206 for its home page, internal communication, and underlying services like Mongod and Rserve. On Windows, the DeployR installation does not offer an opportunity to modify the default ports used by DeployR and its services but the port range used by DeployR 7.2 can be changed after installation using the following procedure. In the example, the port range is changed from 7200-7206 to 8200-8206.

1. Connect to the DeployR main page at the default url of  http://localhost:7200/revolution/docs/.

Select Administration Console and login as 'admin'. Under "Server Policies", edit "Server web context" and change from 'http://localhost:7200/deployr' to 'http://localhost:8200/deployr'. This change must be made first as it cannot be changed after the service ports are modified. After editing the server web context, log out of DeployR.

2. Stop the DeployR Windows services:
C:\>net stop Apache-Tomcat-for-DeployR-7.2
C:\>net stop MongoDB-DeployR-7.2
C:\>net stop Rserve7.2
3. Edit the following files and change all occurrences of 720 to 820:
C:\Revolution\DeployR-7.2\Apache_Tomcat\conf\server.xml 
C:\Revolution\DeployR-7.2\Apache_Tomcat\conf\DeployR_server.xml 
C:\Revolution\DeployR-7.2\deployr.groovy 
C:\Revolution\R-Enterprise-7.2\R-3.0.3\bin\x64\Rserv.cfg 
C:\Revolution\DeployR-7.2\mongo\mongo.cfg
4. Start the DeployR Windows services:
C:\>net start MongoDB-DeployR-7.2
C:\>net start Apache-Tomcat-for-DeployR-7.2
C:\>net start Rserve7.2
5. DeployR adds Inbound Rules to Windows Firewall to allow access to ports 7200-7206. These must be manually changed to the correct updated ports within the Windows Firewall Configuration.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 3104192
Revision : 1
Created on : 1/7/2017
Published on : 10/31/2015
Exists online : False
Views : 59