I have not used php before, so tell me if I doing it wrong, because i:
1) upload the BaseX.php to the server 2) install php on my pc, and check it works on the server 3) then i run the "php -f Example.php" command on my pc
Do I need to do anything else than uplaod the BaseX.php file to the server? Do I need to start the java BaseXServer up?
Because I get a "can`t communicate.."-error whenewer I do this.
2010/3/29 Andreas Weiler andreas.weiler@uni-konstanz.de:
You could try out to upload the PHP Version: https://svn.uni-konstanz.de/dbis/basex/trunk/api/etc/php/ on a webserver and try to connect to your server with the Example.php. So you could narrow the problem to server or client side. Sorry for no better adivces, but we haven't encountered the problem before.
Daniel .Petersen schrieb:
I am not getting the "can't comunnicate.."-error more and is back at the "timeout exception" again, does that make any sense?
I am quite sure the ip is correct, because I am able to scan for open ports from my pc and see the same ports are open as if i scan localhost on the server.
I have unblogged java on my pc, before I started on this.
And the server is CentOs and linux do not blog programs like on windows (if i remember right) and the port are open when i use nmap both on the server and from my pc.
2010/3/29 Andreas Weiler andreas.weiler@uni-konstanz.de:
So i guess it's a security problem. I just checked it by myself on a remote server and i didnt get any problem. So i just can give your following advices: Please make sure Java is not blocked from the firewalls on both machines and check if the port is open and the hostname or hostip is the right one.
Daniel .Petersen schrieb:
I am able to connect to the server locally using the commands you posted.
2010/3/29 Andreas Weiler andreas.weiler@uni-konstanz.de:
Hi Daniel,
"bigBrother" now instead of "asf3-fileserver"
i just checked it with nmap on my machine, and it says exactly the same as yours. (with BaseX Server running and without) So dont give a lot on these results.
If you can connect local to the BaseXServer with just specify the port like:
java -cp BaseX6.jar org.basex.BaseXServer -p 1984
java -cp BaseX6.jar org.basex.BaseXClient -p 1984
and not remote like:
java -cp BaseX6.jar org.basex.BaseXClient -n host -p 1984
Then your server is wrongly configured, please check that first.
Kind regards, Andreas, BaseX Team
Daniel .Petersen schrieb:
Hay again
tried to do everything over once more and now I get another error message
"Can't communicate with the server"-error
There are no change in behavior yet, exept that.
2010/3/28 Christian Grün christian.gruen@gmail.com:
> > Hm… I'm sorry I have no idea what could be the matter. Maybe someone > else out there has some clue? > > On Sat, Mar 27, 2010 at 11:24 PM, Daniel .Petersen > superDACAL@hotmail.com wrote: > > > >> >> hmm... If I use the 1984 port and scan with nmap the service is >> called >> "bigBrother" now instead of "asf3-fileserver", but the clients >> behavior is unchanged. >> >> >> > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk@mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > > > >
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk