Re: Several server apps at same port in same machine? Just confirm whether my assumptions are true...

From: Dave Lowther (davel_at_snsys.com)
Date: 03/25/04


Date: Thu, 25 Mar 2004 13:06:08 -0000


"Francisco Garcia" <nospam@nowhere.com> wrote in message
news:%23XRUq1kEEHA.2548@TK2MSFTNGP12.phx.gbl...
<snip>
> So, I'm searching for a work-around, some way to run several
server-apps
> in the same machine, all answering to connection requests to a well known
> port from the internet. I suppose that, internaly, each server instance
will
> listen at a different port.
<snip>
> Do you know of a better approach?

I checked your list of solutions and didn't see anything quite like this
which I think might be quite simple to implement:

This is only an idea and not something I've ever done.

Write a new server that listens on the well known port and can handle up to
N clients concurrently. Run N copies of the old 'single client' server on
the same machine. Have those N copies listening on ports M through M+(N-1)
which are only known to your new server.

When a client established a connection to the new server, the new server
would 'know' which of the 'single client' servers was free and connect to
that. The new server would just recv() anything from the client and send()
it to the correct instance of the 'single client' server and vice versa.

Would that do the trick ?

Dave.



Relevant Pages

  • Re: Access to Mainframes via Putty?
    ... in the post you referenced but your "snip" ignored it. ... The references are as follows: ... IBM Communications Server for OS/390 TCP/IP 2000 Update ... it may be the same port but you'll be required to use a different ...
    (bit.listserv.ibm-main)
  • Re: [SLE] Networking CUPS?
    ... [BIG snip] ... > If so make sure port 633/tcp is open for internal traffic. ... I think I am running a firewall on my server. ... selected interface and I have selected the NIC but who know if it ...
    (SuSE)
  • Re: Am I being hacked?
    ... >Port 80 to ... The server from akamaitechnologies.com establishes a connection with ...
    (alt.computer.security)
  • Re: Converting to SQL Server
    ... I did not have to create any stored procedures or ... have the trial db on a windows 2000 machine running SQL server 2005 trial ... and a single client with Access 2003. ... normal access file. ...
    (microsoft.public.access.formscoding)
  • RPC: Authentication error
    ... I have a single client and server. ... Authentication error ... rpcinfo -p server results in: ...
    (freebsd-questions)