search www.xcnetwork.com
Simplifying group collaboration...
 
Product Category Optional Search Text  

Article ID:
41
Categories:
General Information
Installation
Configuration
Products:
XC Vault (Linux Server)
XC Vault (Windows Server)
XC Connect (Linux Server)
XC Connect (Windows Server)
Date Created:
09/12/2003 04:37 PM
Date Updated:
09/12/2003 04:37 PM
Rating:
3.664
Responses:
9
Changing port allocation
 
Question:
How do I re-allocate ports?
 
Answer:
Instructions for both Windows and Linux server are below:

WINDOWS:  
go to: c:\xcnetwork\tomcat\conf\server.xml

In the server.xml file, look for the following:

port="80" minProcessors="5" maxProcessors="75"       enableLookups="true" redirectPort="443" acceptCount="10" debug="0" connectionTimeout="60000"/

Note : To disable connection timeouts, set connectionTimeout value to -1

Change the port="80" portion of line 2 to be whatever you would like to use.  Be careful that you don't pick a port that conflicts with another application.  [you probably know this....] To view available ports command line use the command:  netstat -an.

Restart the Xchange Network services Start | Programs | Xchange Network Server | Stop Server (and then "Start Server") |).

After that is complete you should be able to access the admin page with the url: http://: [chosen_port]/xcnetwork/admin/

Don't forget to add the ":[chosen port]".


For LINUX:  

1.  Open the /usr/xcnetwork/tomcat/conf/server.xml file for editing.

2.  Look for a segment that looks like this:

  
    port="80" minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="443"
acceptCount="10" debug="0" connectionTimeout="60000"/>



3.  Change the 'port="80"' section to use whatever port number you would like to use.

4.  Open /usr/xcnetwork/startxcnetwork.sh for editing.  Depending on the version of the script, you will have to:

a.  Change TOMCAT_PORT=80 at the top to whatever value you have changed it to.

b.  If the TOMCAT_PORT variable does not exist, find and replace on all instances of '80' within the file replacing it with your chosen port value.

5.  Perform the same steps as 4 on the file /usr/xcnetwork/stopxcnetwork.sh

Once this is completed, simply execute: sh /usr/xcnetwork/stopxcnetwork.sh
sh /usr/xcnetwork/startxcnetwork.sh and you should be up and running with Tomcat listening on your chosen port.
 
Please rate this article (1 being worst, 5 being best):
1  2  3  4  5  
 
Click here to send specific feedback about this article.
home    products    buy now    try now    xc bridge    partners    support    contact    about us    knowledge base    site map    privacy
Copyright© 2002-2008 Xchange Network LLC. All rights reserved.