Re: Callbacks to remoced clients thru firewall

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Elp (rockfamily_at_REMOVEME.hotmail.com)
Date: 03/05/04


Date: Fri, 5 Mar 2004 17:55:22 -0000

Hi Isaak,

"Isaak" <anonymous@discussions.microsoft.com> wrote in message
news:B55ACDB6-356E-4649-BA5B-D1E1D24DDBDE@microsoft.com...
> In my application, remoted clients, using auto port selection option of
port=0, register for remote callbacks from the server.
> Since port number is picked by the system, I have no control of which port
number is selected. My problem is that our server will soon be placed
behind the firewall, and with that >only certain preassigned port numbers
will be available for both inbound and outbound communications. Because I
may want to run multiple copies of remoted client from the same >machine at
the same time, I can't hardcode the port number into the client. Is there a
way to specify a range of "valid" port numbers for a client to choose form?
And if not, is there >another approach that will allow to have multiple
remoted clients running on the same node to receive callbacks from a server
when a pool of available port numbers is restricted?

An alternative as Sunny's approach would be to use a bi-directionnal channel
such as the one provided by Genuine Channels: http://www.genuinechannels.com

With this kind of channels, the channel that your client application uses to
connect to the server is re-used by the server whenever he needs to call a
callback function on the client (or send an event to the clients which is
actually the same thing). In this way, all you will have to do is to
configure your firewall to allow connections from wherever to your server
machine on the port used by the server to expose your remoting objects.
Exactly as if there was no callbacks or events involved...



Relevant Pages

  • Re: Unable to print to networked printer - get access denied messa
    ... Check the permissions on the server assuming the client has a true RPC ... How is the Standard TCP/IP port configured for the device? ...
    (microsoft.public.windowsxp.print_fax)
  • Re: interfaces lo:1 lo:2 lo:3? (for remote ssh tunnels)
    ... That's the problem tunneling (port forwarding) solves. ... >>can't get past the client firewall. ... > I don't understand why the server would be making the ... server initiates another connection to the client -- in this ...
    (Debian-User)
  • Re: Remote Connection Issue
    ... through port number 3389 and a workstation on the LAN through port number ... I understand that you want to allow a LAN client ... and you have configured server publishing rule ... > By default Terminal Server and Windows 2000 Terminal Services uses TCP ...
    (microsoft.public.windows.server.sbs)
  • Re: RealVNC
    ... Default listening port for RealVNC server that runs on the machine on which ... Then there is default Java listening port on port 5800 on the client machine ...
    (microsoft.public.windows.server.sbs)
  • Re: Redirecting data sent to a local printer to another host and port on the network
    ... All client workstations have access to the ... simply redirecting netcat traffic on port 9100 to port 515 on ... Only LPR clients talk to LPD print server daemons. ... >workstation at the branch site where the print job originated. ...
    (comp.unix.sco.misc)