Archived
This forum has been archived. Please start a new discussion on GitHub.
::connect failure
Hi all
I get strange connection errors on the out-of-the-box apps that come with ice:
[g:\dev\bin\ice\ice-1.2.0-msi\demo\icestorm\clock]publisher.exe
[ publisher.exe: Network: trying to establish tcp connection to 62.194.186.50:10000 ]
[ publisher.exe: Network: trying to establish tcp connection to 62.194.186.50:10000 ]
publisher.exe: .\Network.cpp:447: Ice::ConnectFailedException:
connect failed: WSAECONNREFUSED
with trace on (or witht the debugger I can see ice tries to connect with a mapping to my ip/my port nr, but somehow, deep down, ::connect fails.
other demo apps (for instance demo\ice\helllo) work correct!
what is wrong???
other questions:
- why are there 2 configs ("config" and "config_server")
- why does the book mentions
"IceBox.Service.IceStorm=IceStormService,1.0.0:create" but the demo does nothing (so it seems) with that
- why are there all sorts of endpoints/proxies but only one is used (IceStorm.TopicManager.Proxy=IceStorm/TopicManager:default -p 10000)
- why does the "serverj" (clockS.sln) compile the subscriber (feels odd)
I really like ice (much more than ACE or Gsoap) but I 'd appreciate it if I could use it
Thanks in advance!
Dirk Griffioen
I get strange connection errors on the out-of-the-box apps that come with ice:
[g:\dev\bin\ice\ice-1.2.0-msi\demo\icestorm\clock]publisher.exe
[ publisher.exe: Network: trying to establish tcp connection to 62.194.186.50:10000 ]
[ publisher.exe: Network: trying to establish tcp connection to 62.194.186.50:10000 ]
publisher.exe: .\Network.cpp:447: Ice::ConnectFailedException:
connect failed: WSAECONNREFUSED
with trace on (or witht the debugger I can see ice tries to connect with a mapping to my ip/my port nr, but somehow, deep down, ::connect fails.
other demo apps (for instance demo\ice\helllo) work correct!
what is wrong???
other questions:
- why are there 2 configs ("config" and "config_server")
- why does the book mentions
"IceBox.Service.IceStorm=IceStormService,1.0.0:create" but the demo does nothing (so it seems) with that
- why are there all sorts of endpoints/proxies but only one is used (IceStorm.TopicManager.Proxy=IceStorm/TopicManager:default -p 10000)
- why does the "serverj" (clockS.sln) compile the subscriber (feels odd)
I really like ice (much more than ACE or Gsoap) but I 'd appreciate it if I could use it
Thanks in advance!
Dirk Griffioen
0
Comments
-
Re: ::connect failure
Hi,
Welcome to the forum!Originally posted by diddek
I get strange connection errors on the out-of-the-box apps that come with ice:
[g:\dev\bin\ice\ice-1.2.0-msi\demo\icestorm\clock]publisher.exe
[ publisher.exe: Network: trying to establish tcp connection to 62.194.186.50:10000 ]
[ publisher.exe: Network: trying to establish tcp connection to 62.194.186.50:10000 ]
publisher.exe: .\Network.cpp:447: Ice::ConnectFailedException:
connect failed: WSAECONNREFUSED
with trace on (or witht the debugger I can see ice tries to connect with a mapping to my ip/my port nr, but somehow, deep down, ::connect fails.
other demo apps (for instance demo\ice\helllo) work correct!
what is wrong???
The README file in the demo directory describes the steps to take to run the example. I recommend that you edit the config file and enable the Ice.Trace.Network property. Then start the server and try the client again. The trace messages that are displayed should provide clues about the problem. For example, verify that the client and server are using the same IP address, port number, etc.other questions:
- why are there 2 configs ("config" and "config_server")- why does the book mentions
"IceBox.Service.IceStorm=IceStormService,1.0.0:create" but the demo does nothing (so it seems) with that- why are there all sorts of endpoints/proxies but only one is used (IceStorm.TopicManager.Proxy=IceStorm/TopicManager:default -p 10000)- why does the "serverj" (clockS.sln) compile the subscriber (feels odd)I really like ice (much more than ACE or Gsoap) but I 'd appreciate it if I could use it
Take care,
- Mark0 -
tHNX!
fixed my poor understanding!0