ice should decrease port

1.ice application has too much port,and these ports are variable.
it is diffcult to set policy in servers;
2.two way appliction need client open the client port,it makes troubles
to admin server. tcp/ip app could do two way operation when client has connected on server,neednot,client to open Port.

for example icegridnode.icegridadmin.

Comments

  • matthewmatthew NL, CanadaMatthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications EngineMember ✭✭✭
    #1: Unless you are talking about *specific* Ice applications (such as IceStorm, IceGrid, etc.) Ice applications open as many ports as you specify, and furthermore you define what these ports are. So please be more specific.

    #2: You can use bi-directional communications if you don't want the a server to open a separate connection back to a client for callback purposes. See the Ice manual for more details, or the demo in demo/Ice/bidir for an example.
  • hellocyfhellocyf Member
    thanks for reply

    thanks!Matthew Newhook
    I only use icegrid to integrate my application.
    so only icegridnode and icepatch2 will be used in my appication.

    is icegridnode and icepatch2 could config as bi-directional communications ?
  • benoitbenoit Rennes, FranceBenoit FoucherOrganization: ZeroC, Inc.Project: IceAdministrators, ZeroC Staff ZeroC Staff
    Hi,

    No it's not possible, the IceGrid node must listen on a port. The IceGrid node could use bi-directional connections to connect to the registry and therefore not listen on any interfaces but this would probably introduce few limitations (such as the registry couldn't contact anymore the node on startup to notify the node that it's up again). I'm also not convinced this would be really useful: typically the node is hosting servers and these servers are also listening for incoming connections on some ports.

    I don't see why IcePatch2 would need bi-directional connections as the IcePatch2 server doesn't make any callbacks on the client.

    Cheers,
    Benoit.
  • hellocyfhellocyf Member
    thanks

    "the IceGrid node must listen on a port",agree,that's all.
    I will test it.

    advise,
    1.
    I think,Icegridgui normaly runs at client,so it need not listen on a port
    for call back.it act as only admin.

    2.
    icepatch2,
    may be can update serverpatch file in remote.
    now ,I need upload files to server by ftp,and run icepatch2calc . on server.

    can it simpfy like that:
    admin's computer patch file sync with patchserver files with one command.
    (could not find in doc.).

    and patchserver files sync all nodes(has works fine)
  • benoitbenoit Rennes, FranceBenoit FoucherOrganization: ZeroC, Inc.Project: IceAdministrators, ZeroC Staff ZeroC Staff
    hellocyf wrote:
    "the IceGrid node must listen on a port",agree,that's all.
    I will test it.

    advise,
    1.
    I think,Icegridgui normaly runs at client,so it need not listen on a port
    for call back.it act as only admin.

    Correct, the GUI doesn't listen on any ports.
    2.
    icepatch2,
    may be can update serverpatch file in remote.
    now ,I need upload files to server by ftp,and run icepatch2calc . on server.

    can it simpfy like that:
    admin's computer patch file sync with patchserver files with one command.
    (could not find in doc.).

    and patchserver files sync all nodes(has works fine)

    Yes, it's not possible to update the IcePatch2 server remotely. You have to copy the files where the IcePatch2 server is expecting them and run icepatch2calc.

    Cheers,
    Benoit.
Sign In or Register to comment.