Hmmm, I am confused.
I assumed that this line in the script was setting the restURL on my
server -- config.jpoker = { restURL : 'http:// myserver:19384/POKER_REST' };
. Since that didn't work
I looked in poker.server.xml and noticed the resthost is set to localhost on
port 19384. So I tried this : config.jpoker = { restURL : 'http://
localhost/POKER_REST'};
But jpoker remains disconnected. If I can't set the restURL to point to my
server through the index.html then where else?
--------------------------------------------------
From: "Loic Dachary" <[email protected]>
Sent: Saturday, August 08, 2009 4:29 AM
To: "Larry" <[email protected]>
Cc: "Pokersource Users" <[email protected]>
Subject: Re: [Pokersource-users] Jpoker Problem
> Larry wrote:
>> I have installed poker-network 1.7.5 and jpoker 1.16 as per proppy's
>> recommendation. I also installed the memcache daemon which is
>> running. However, the connection problem persists. The poker server
>> is running and so is apache but I still get a disconnected status from
>> jpoker. Jpoker will connect to the default pokersource.eu server and
>> I can play but I can't connect to my own server after modifying the
>> Index.html with config.jpoker = { restURL : 'http:// my_server_url
>> :19384/poker_rest' };
>>
>> Any suggestions will be appreciated
> If you use http://myserver/jpoker/ the restURL must be on the same host
> (i.e. http://myserver/ ) because browsers forbid javascript to send a
> request to a server that is different from the one it comes from.
>
> Cheers
>
>
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users