Hi,
I am running a server in Java on a linux machine and want to connect to it from a windows machine (either GUI or java code). It is not working. I get as a response that the connection is refused. On the linux machine the server is running - I see the port being listened on. The firewall is also open on that port - I can telnet the port and get a response. Any idea?
I use these settings in .basex # Client/Server Architecture HOST = 130.89.1.182 PORT = 19840 SERVERPORT = 1984 EVENTPORT = 1985 USER = XXXX PASSWORD = XXXX SERVERHOST = silo1.ewi.utwente.nl
thanbks in advance.
best regards Andreas
Hi Andreas,
as your scenario is quite a usual one, it’s difficult to guess what may be the problem. Have you tried to use BaseX with the default options (e. g., using no SERVERHOST option, etc.)? Did you check your Firewall settings, did you try port 8080? Is there a particular reason for using a different PORT and SERVERPORT?
Christian ___________________________
I am running a server in Java on a linux machine and want to connect to it from a windows machine (either GUI or java code). It is not working. I get as a response that the connection is refused. On the linux machine the server is running - I see the port being listened on. The firewall is also open on that port - I can telnet the port and get a response. Any idea?
I use these settings in .basex # Client/Server Architecture HOST = 130.89.1.182 PORT = 19840 SERVERPORT = 1984 EVENTPORT = 1985 USER = XXXX PASSWORD = XXXX SERVERHOST = silo1.ewi.utwente.nl
thanbks in advance.
best regards Andreas _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Hi Andreas,
Additionally to Christians remarks please also make sure it is not an IPv4/IPv6 issue. As your serverhost is based on a DNS lookup this would be possible and we had such an issue some time ago on this list.
Also, what is the exact error message you get? As far as I remember there is no message as "Connection refused", but either "Can't communicate with the server" or "Access denied".
Cheers, Dirk
On 07/31/2013 05:59 PM, Christian Grün wrote:
Hi Andreas,
as your scenario is quite a usual one, it’s difficult to guess what may be the problem. Have you tried to use BaseX with the default options (e. g., using no SERVERHOST option, etc.)? Did you check your Firewall settings, did you try port 8080? Is there a particular reason for using a different PORT and SERVERPORT?
Christian ___________________________
I am running a server in Java on a linux machine and want to connect to it from a windows machine (either GUI or java code). It is not working. I get as a response that the connection is refused. On the linux machine the server is running - I see the port being listened on. The firewall is also open on that port - I can telnet the port and get a response. Any idea?
I use these settings in .basex # Client/Server Architecture HOST = 130.89.1.182 PORT = 19840 SERVERPORT = 1984 EVENTPORT = 1985 USER = XXXX PASSWORD = XXXX SERVERHOST = silo1.ewi.utwente.nl
thanbks in advance.
best regards Andreas _______________________________________________ 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
Hi,
thanks for the response. I haven't changed any ports. These are the default ports. This is the command I used to start the server java -cp ./BaseX76.jar org.basex.BaseXServer -d I also have found the approach of enforcing IPv4 via a java setting. I also tried this and it was not working. The firewall is open since I can telnet the port. I also tried to IP address in the client and the server configuration to avoid name resolution problems.
The response in BaseX GUI when trying to connect to the server is Can't communicate with the server. The message I get from running a client in my own Java code is "Connection refused".
Do I need the BaseX application server running to make this connection?
best regards Andreas
On 7/31/2013 5:59 PM, Christian Grün wrote:
Hi Andreas,
as your scenario is quite a usual one, it’s difficult to guess what may be the problem. Have you tried to use BaseX with the default options (e. g., using no SERVERHOST option, etc.)? Did you check your Firewall settings, did you try port 8080? Is there a particular reason for using a different PORT and SERVERPORT?
Christian ___________________________
I am running a server in Java on a linux machine and want to connect to it from a windows machine (either GUI or java code). It is not working. I get as a response that the connection is refused. On the linux machine the server is running - I see the port being listened on. The firewall is also open on that port - I can telnet the port and get a response. Any idea?
I use these settings in .basex # Client/Server Architecture HOST = 130.89.1.182 PORT = 19840 SERVERPORT = 1984 EVENTPORT = 1985 USER = XXXX PASSWORD = XXXX SERVERHOST = silo1.ewi.utwente.nl
thanbks in advance.
best regards Andreas _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Hi Andreas,
thanks for the response. I haven't changed any ports. These are the default ports.
I was wondering about the following two options, which seem to differ from the default settings:
PORT = 19840 SERVERHOST = silo1.ewi.utwente.nl
Have you tried to connect to the server with the "basexclient" command? And have you checked if the problem persists with the latest stable snapshot [1]?
Christian
[1] http://files.basex.org/releases/latest/ _____________________________________
This is the command I used to start the server java -cp ./BaseX76.jar org.basex.BaseXServer -d I also have found the approach of enforcing IPv4 via a java setting. I also tried this and it was not working. The firewall is open since I can telnet the port. I also tried to IP address in the client and the server configuration to avoid name resolution problems.
The response in BaseX GUI when trying to connect to the server is Can't communicate with the server. The message I get from running a client in my own Java code is "Connection refused".
Do I need the BaseX application server running to make this connection?
best regards Andreas
On 7/31/2013 5:59 PM, Christian Grün wrote:
Hi Andreas,
as your scenario is quite a usual one, it’s difficult to guess what may be the problem. Have you tried to use BaseX with the default options (e. g., using no SERVERHOST option, etc.)? Did you check your Firewall settings, did you try port 8080? Is there a particular reason for using a different PORT and SERVERPORT?
Christian ___________________________
I am running a server in Java on a linux machine and want to connect to it from a windows machine (either GUI or java code). It is not working. I get as a response that the connection is refused. On the linux machine the server is running - I see the port being listened on. The firewall is also open on that port - I can telnet the port and get a response. Any idea?
I use these settings in .basex # Client/Server Architecture HOST = 130.89.1.182 PORT = 19840 SERVERPORT = 1984 EVENTPORT = 1985 USER = XXXX PASSWORD = XXXX SERVERHOST = silo1.ewi.utwente.nl
thanbks in advance.
best regards Andreas _______________________________________________ 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
Hi,
I tried the version 7.7 and it solved the problem.... thanks a lot. Is there an option to re-use the data in the 7.6 version?
best regards Andreas
On 8/1/2013 11:06 AM, Christian Grün wrote:
Hi Andreas,
thanks for the response. I haven't changed any ports. These are the default ports.
I was wondering about the following two options, which seem to differ from the default settings:
PORT = 19840 SERVERHOST = silo1.ewi.utwente.nl
Have you tried to connect to the server with the "basexclient" command? And have you checked if the problem persists with the latest stable snapshot [1]?
Christian
[1] http://files.basex.org/releases/latest/ _____________________________________
This is the command I used to start the server java -cp ./BaseX76.jar org.basex.BaseXServer -d I also have found the approach of enforcing IPv4 via a java setting. I also tried this and it was not working. The firewall is open since I can telnet the port. I also tried to IP address in the client and the server configuration to avoid name resolution problems.
The response in BaseX GUI when trying to connect to the server is Can't communicate with the server. The message I get from running a client in my own Java code is "Connection refused".
Do I need the BaseX application server running to make this connection?
best regards Andreas
On 7/31/2013 5:59 PM, Christian Grün wrote:
Hi Andreas,
as your scenario is quite a usual one, it’s difficult to guess what may be the problem. Have you tried to use BaseX with the default options (e. g., using no SERVERHOST option, etc.)? Did you check your Firewall settings, did you try port 8080? Is there a particular reason for using a different PORT and SERVERPORT?
Christian ___________________________
I am running a server in Java on a linux machine and want to connect to it from a windows machine (either GUI or java code). It is not working. I get as a response that the connection is refused. On the linux machine the server is running - I see the port being listened on. The firewall is also open on that port - I can telnet the port and get a response. Any idea?
I use these settings in .basex # Client/Server Architecture HOST = 130.89.1.182 PORT = 19840 SERVERPORT = 1984 EVENTPORT = 1985 USER = XXXX PASSWORD = XXXX SERVERHOST = silo1.ewi.utwente.nl
thanbks in advance.
best regards Andreas _______________________________________________ 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
In case you refer to your database instances: yes, 7.7 is downward compatible.
Glad this helped, Christian Am 01.08.2013 11:48 schrieb "Andreas Wombacher" a.wombacher@utwente.nl:
Hi,
I tried the version 7.7 and it solved the problem.... thanks a lot. Is there an option to re-use the data in the 7.6 version?
best regards Andreas
On 8/1/2013 11:06 AM, Christian Grün wrote:
Hi Andreas,
thanks for the response. I haven't changed any ports. These are the
default ports.
I was wondering about the following two options, which seem to differ from the default settings:
PORT = 19840 SERVERHOST = silo1.ewi.utwente.nl
Have you tried to connect to the server with the "basexclient" command? And have you checked if the problem persists with the latest stable snapshot [1]?
Christian
[1] http://files.basex.org/**releases/latest/http://files.basex.org/releases/latest/ ______________________________**_______
This is the command I used to start the server
java -cp ./BaseX76.jar org.basex.BaseXServer -d I also have found the approach of enforcing IPv4 via a java setting. I also tried this and it was not working. The firewall is open since I can telnet the port. I also tried to IP address in the client and the server configuration to avoid name resolution problems.
The response in BaseX GUI when trying to connect to the server is Can't communicate with the server. The message I get from running a client in my own Java code is "Connection refused".
Do I need the BaseX application server running to make this connection?
best regards Andreas
On 7/31/2013 5:59 PM, Christian Grün wrote:
Hi Andreas,
as your scenario is quite a usual one, it’s difficult to guess what may be the problem. Have you tried to use BaseX with the default options (e. g., using no SERVERHOST option, etc.)? Did you check your Firewall settings, did you try port 8080? Is there a particular reason for using a different PORT and SERVERPORT?
Christian ___________________________
I am running a server in Java on a linux machine and want to connect to
it from a windows machine (either GUI or java code). It is not working. I get as a response that the connection is refused. On the linux machine the server is running - I see the port being listened on. The firewall is also open on that port - I can telnet the port and get a response. Any idea?
I use these settings in .basex # Client/Server Architecture HOST = 130.89.1.182 PORT = 19840 SERVERPORT = 1984 EVENTPORT = 1985 USER = XXXX PASSWORD = XXXX SERVERHOST = silo1.ewi.utwente.nl
thanbks in advance.
best regards Andreas ______________________________**_________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-**konstanz.deBaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.**de/mailman/listinfo/basex-talkhttps://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
______________________________**_________________
BaseX-Talk mailing list BaseX-Talk@mailman.uni-**konstanz.deBaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.**de/mailman/listinfo/basex-talkhttps://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de