|
|||
|
hello,
any idea why a client browser is reporting a "Error to load language configuration file" and no chat client is loaded? I've got fcserver running on a redhat9 box and I am using your index.html test file from the flash folder. Thanx a bunch. Kroko. |
|
|||
|
make sure the two dir: lang , skin in the dir of your html files
eg. your html file is : /usr/local/www/htdocs/chat/index.html then , copy the "lang", "skin" dir to: /usr/local/www/htdocs/chat/lang /usr/local/www/htdocs/chat/skin is that clear ? any question , just reply here. good luck! |
|
|||
|
Thanks Daniel for your very prompt response. I had wrong permissions on lang and skin folders. chmod fixed the problem. Now I am facing the following problem: My server is running on a machine behind a router. This server's IP is 192.168.1.100 let's say. I setup my router (whose public IP is x.y.z.w) to forward port 51127 to 192.168.1.100 I started my flash chat server with host=192.168.1.100 in fcserver.xml. I have the client residing at a website hosted by a provider with client.xml containing host=x.y.z.w and port=51127 Would this setup work? or am i missing something? It is not working for me yet but i am suspecting that my own provider is blocking port 51127. Thanks a lot. |
|
|||
|
is that your router do the NAT or similar work ?
if that, you should: 1. edit the fcserver.xml , modify : <server-address>*</server-address> to : <server-address>192.168.1.100</server-address> remember, the server address must using the lan ip , not the public ip x.y.z.w 2. add a rule in your router, you should redirect the tcp connection: x.y.z.w port: 51127 (or other port) --> 192.168.1.100 port: 51127 if you don't use the 51127 port in your public ip, eg. n , you should edit the client.xml , <port value="n" /> 3. edit the client.xml if you use the domain name www.yourhost.com ( point to x.y.z.w) to access the html file, eg. http://www.yourhost.com/chat/aaa.html just change to <host value="www.yourhost.com " /> if you use the ip address to access the html file,eg. http://x.y.z.w/chat/aaa.html <host value="x.y.z.w" /> I just installed a server and integrated his mysql database for one customer, if you want , we can provide the service for you. |
|
|||
|
Thanks Daniel. I had the setup as you describe it and I am almost sure that my cable provider is blocking port 51127 (I'll double check that tonite as I don't have outbound access to 51127 from where I am now). My router is a linksys and it does not provide PAT, i'll switch to a software based firewall(IPCOP) tonite and use port 80 (whic is open) and translate it to 192.168.1.1:51127 Could I use port 80 in client.xml? or does it have to be in the 1024-65535 range? Thanks. |
|
|||
|
Yes, you can use 80 in the client.xml, because you redirect the:
x.y.z.w port: 80 --> 192.168.1.100 port: 51127 the real port of the server listen is 51127, it's between 1024-65535 But, I'm wondering, the 80 port is the default http port, if you redirect the 80 port , how about the www access ? is there another port is not blocked you can use ? |
|
|||
|
First of, thanks a lot Daniel for your answers. My plan is to run the chat server at home and have the client stuff reside at my public site hosted by a provider. I have no need for port 80 at home. Actually I am finding out that my home ISP is blocking way too many ports and funny enough 80 is not blocked. The other thing is that my public hosting service does not allow me to run the chat server on their site. Thanks again. |
|
|||
|
I see, from our faq page,
http://www.123flashchat.com/faq.html#d1 you can find more info about it: Quote:
|
|
|||
|
Hi Daniel, I am still facing a problem in getting the chat server behind my home firewall to work. Here is my setup: At home: My public IP is x.y.z.w (IP assigned to my router/firewall by ISP DHCP server) IP Forwarding on my router: port 80 ==> 192.168.1.100 Home machine hosting chat server: 192.168.1.100 Chat server fcserver.xml: host=192.168.1.100, port=51127 Client stuff is residing on 192.168.1.100 (running apache) client.xml: host=192.168.1.100, port=51127 When I launch a browser at home and point to http://192.168.1.100/index.html everything works fine and the chat client comes up and I can chat. When I launch a browser at home and point to http://x.y.z.w/index.html the client loads but times out while trying to "connecting the server". I get this same result from outside trying to go to http://x.y.z.w/index.html Any clues? |
|
|||
|
You should change the client.xml
host=x.y.z.w because the others just read the client.xml to connect your server. And remeber, the ip forwarding on your router: x.y.z.w port 80 ==> 192.168.1.100 port: 51127 |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|