Hello,
I can't connect to remote Appserver (Linux machine) from a Windows 4GL client.
DEF VAR ret AS LOG.
DEF VAR hAppSrv AS HANDLE.
CREATE SERVER hAppSrv.
ret = hAppSrv:CONNECT("-AppService asbroker1 -H 10.200.220.165").
On the last statement, I've got a 9407 error.
On Linux, AppServer and NameServer are well started.
BUT, there's something I don't understand.
With Progress Explorer Tool, I create an progress server on Localhost. I start NS1 then asbroker1 and mysteriously, my 4GL code works!! However I strongly specified -H 10.200.220.165, the remote machine!!!!!
I really need help. I read documentation again and again...and again but nothing conclusive.
Thanks.
Firewall?
Try to use DirectConnect, it will eliminate NS from chain.
ret = hAppSrv:CONNECT("-AppService asbroker1 -H 10.200.220.165 -DirectConnect").
ret = hAppSrv:CONNECT("-AppService asbroker1 -H 10.200.220.165 -DirectConnect").
Then you should be adding
-H
Thanks for your replies.
I've resolved my problem.
Hosts file (/etc/hosts) was incomplete.
I've added:
10.200.220.165 srvLinux
And now, it works fine..but it remains strange.