I have deployed KX/KDB software to a new linux server with lisence. q session could be launched and works.
But I cannot make connection from an external server (e.g. my local machine via #C and JAVA) to the new KDB server. Is there any steps missing?
error:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.106.4.131:6144’
thanks for your reply:
- they are internal hosts and do not have firewall/networking issue. my local PC can ping the IP
2. cannot open 10.106.4.131:6144 in the browser
3. From an existing qconnection to hopen this one, I have error like ‘hop. OS reports: No route to host’
- if using kx.c kdbclient3 = new kx.c(“nyblrhirsd01”, 6154, Environment.UserName + “:mypassword”),
System.Net.Sockets.SocketException: ‘A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.106.4.131:6154’
Any suggest?
For 3. the suggestion is to test in a browser. A q connection to the python server would fail as the protocols are different.
I copied 10.106.4.131:6154 in a brower, but it shows me cannot reach the page
If python is running a server but your browser cannot connect it suggests an issue with the network settings and not kdb+. Are only certain ports open?
If I can only use ssh port I often set up a port forward so I can connect on my machine
https://linux.die.net/man/1/ssh#:~:text=%2DL%0A%5B%0Abind_address%3A%5Dport%3Ahost%3Ahostport
ssh -L 6154:localhost:6154 whateveryourusernameis@10.106.4.131
what should I try now? thanks a lot