Installing Server > Maintenance tasks > Changing the website port
 
Changing the website port
The default port number for websites is port 80. When you install the Web Service onto a website that uses a different port number, you can specify this port number and the installation program ensures that UNICOM Intelligence Interviewer Server runs using that port. If you change the port number that your website uses after installing UNICOM Intelligence Interviewer Server, you must make the corresponding changes for UNICOM Intelligence Interviewer Server manually.
For Web Service and Interview Servers
1 Open regedit and navigate to:
HKEY_LOCAL_MACHINE\Software\SPSS\mrInterview\3\Interviewing
2 Change the LocalEngineURLs setting so that it reads
http://ServerName:PortNumber/mrIEngWS
If you were previously using port 80 but are now using a different port, add :PortNumber to the existing definition.
If you are switching from using a port other than 80 to using port 80, delete :PortNumber from the existing definition.
Otherwise, just change the value of PortNumber.
3 Change the RegistrationURL setting so that it reads
http://%Server%:PortNumber/mrIWeb/mrIWeb.dll?Handler=EngineRegistrationService
The rules for changing PortNumber are as described in the previous step.
4 Open regedit and navigate to:
HKEY_LOCAL_MACHINE\Software\SPSS\mrInterview\3\InstallOptions
5 Change the WebServerDetail and IseServerDetail settings to:
ServerName;<PortNumber>;InstanceNumber
The registry settings are used for modifying the installation.
6 Save the changes and exit.
7 Open [INSTALL_FOLDER]\IBM\SPSS\DataCollection\<version>\Interviewer Server\Server\mrIWebWeb.config and change the ImageCache and LocalImageCache keys so that they read as follows (lines are split for ease of reading only):
Full URL:
<add key="LocalImageCacheURL"
value="http://servername:PortNumber/ImageCache/ImageCache.aspx"/>
<add key="ImageCacheURL"
value="http://servername:PortNumber/ImageCache/ImageCache.aspx"/>
Relative URL:
<add key="LocalImageCacheURL"
value="../ImageCache/ImageCache.aspx"/>
<add key="ImageCacheURL"
value="http://servername:PortNumber/ImageCache/ImageCache.aspx"/>
As with the registry settings, you will either add, remove or change the :PortNumber parameter in these definitions depending on what changes you have made to the website port number.
8 In Windows Explorer, browse to the UNICOM Intelligence Developer Documentation Library directory:
[INSTALL_FOLDER]\IBM\SPSS\DataCollection\<version>\DDL\Code\Tools\VB.NET\DPM Explorer.Net
9 Double click DPMExplorer.exe. This opens the DPM Explorer application.
10 Go to Site > Properties, the port number of DimensionsInterviewUrl should be updated.
For Accessories servers
1 In Windows Explorer, browse to the UNICOM Intelligence Developer Documentation Library directory:
[INSTALL_FOLDER]\IBM\SPSS\DataCollection\<version>\DDL\Code\Tools\VB.NET\DPM Explorer.Net
2 Double click DPMExplorer.exe. This opens the DPM Explorer application.
3 Update the BalancerUrl and StartUrl port numbers for all applications, except Activation and WebSurvey, in the following path:
Site > Servers > <ServerName> > Applications > Reporter > ApplicationSettings
4 Update the StartUrl port number for the UNICOM Intelligence Reporter application in the following path:
Site > Servers > <ServerName> > Applications > Reporter > ApplicationSettings
5 Update the StartUrl port number for the UNICOM Intelligence Author application in the following path:
Site > Servers > <ServerName> > Applications > Author > ApplicationSettings
6 Update the DimensionsInterviewUrl and FileManagerWebService port numbers in the following path:
Site > Properties
7 Open regedit and navigate to:
HKEY_LOCAL_MACHINE\Software\SPSS\DimensionNet\InstallOptions
8 Change the AccServerDetail and FirstAccServerDetails settings to:
ServerName;<PortNumber>;InstanceNumber
9 If UNICOM Intelligence Reporter - Survey Tabulation, UNICOM Intelligence Reporter Desktop Edition, or UNICOM Intelligence Author Server Edition port number has changed, you must update the SurveyTabulationServerDetail, SurveyReporterServerDetail, or AuthorServerDetail settings to:
ServerName;<PortNumber>;InstanceNumber
See
Maintenance tasks