Archived

This forum has been archived. Please start a new discussion on GitHub.

Socket connection with general client

I've tryed to telnet localhost with the port to a Ice server side program, it works, the telnet connection successfully connected.

and i try to connect my linux server from laptop, it failed!
i thought that maybe the firewall caused the connection fail, but i write a simple perl scripe in the server side on the same port, and connect from my laptop, it work!

so i wonder what's the matter.

how can i make my linux Ice server serve remote clients?

can a general socket client TALK to Ice service?

thanks.

PS. my MSN:tu8ge@hotmail.com

Comments

  • Ice::ObjectAdapterPtr adapter
    = ic->createObjectAdapterWithEndpoints(
    "SimplePrinterAdapter", "default -h 192.168.100.111 -p 10000");
    :)
  • marc
    marc Florida
    Sorry, but with the little information you provide, it's impossible to help you. What exactly fails? What error messages do you get? What proxy does the client use? What operation do you call on the server? What language mapping, operating system, and compiler are you using? Please provide as much detail as possible.

    Regarding your question about a "general socket client", I'm not sure I understand what you mean. In any case, of course you need an Ice client to talk to an Ice server.