Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > 123 Flash Chat Server Software > 123 Flash Chat Knowledgebase

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-06-2009, 09:33 AM
Member
 
Join Date: Apr 2008
Posts: 41
Default How to install two chats on the same server

Q: I've two license, how do I install two chats on the same server?

A: To install two chats on the same server, please install the first one, and keep all the settings as default. Then install the second one, before starting the second server, you need make some changes in configure files avoid the conflicts of two servers.I'll seperately discuss the server side and the client side

Server Side:

1. Open the fcserver.xml in the path "server/etc/fcserver.xml".
2. Find the code below:
1) <primary-server port="51127" ip="*"></primary-server>, change this port 51127 to another valid one, for example: 51129.
2) <http-server documentRoot="../client" maxUPLoadSize="1024" port="35555" ip="*" enable="On"></http-server>, change this port 35555 to another valid one, for example: 35556.
3) <database-server ip="127.0.0.1" port="10702" enable="On"></database-server>,change this port 10702 to another valid one, for example: 10703,
4) <rtmp-server port="1935" ip="*" enable="On"></rtmp-server> change this port 1935 to another one, for example: 1936.
3. Open the Derby.xml in the path "123flashchat/server/etc/Derby.xml".
4. Find <jdbc-url>jdbc:derby://127.0.0.1:10702/flashchat;create=true</jdbc-url>, change port to the one you set in step 2, may be 10703.
5. Restart your chat to make the setting valid.

Client Side:


1. Open your index.html in client folder.
2. Find the code openSWF("123flashchat.swf","779","505"); change to
openSWF("123flashchat.swf?init_host=your_server_IP &init_port=51129&init_group=default","779","505")

Note:
"your_server_IP" should be the really IP. and all the port above should be adminted by firewall.
Closed Thread

Was this information helpful?    Yes No



Tags
chat domain, chat host, chat hosting, chat server, chat server software, ports comflicts, the same server, two licenses

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:27 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.