Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #34461

Re: Picking an unused port number

From Knute Johnson <nospam@rabbitbrush.frazmtn.com>
Newsgroups comp.lang.java.programmer
Subject Re: Picking an unused port number
Date 2016-06-04 09:56 -0700
Organization A noiseless patient Spider
Message-ID <niv172$pns$1@dont-email.me> (permalink)
References <gIGdna5umL551yLRRVn_vwA@giganews.com> <e72b1da8-383c-4a75-9d47-6f4cd0993b2a@googlegroups.com>

Show all headers | View raw


On 6/4/2016 08:24, nathanturner369@gmail.com wrote:
> On Wednesday, October 20, 2010 at 1:02:41 PM UTC-7, Spud wrote:
>> This isn't really java-specific, but I've been posting here lately and
>> what the heck:
>>
>> Are there any conventions out there for selecting what port(s) your app
>> should use for application-specific communication?
>>
>> Our app runs on multiple servers that must communicate. We're using
>> http, but can't use port 80 because there is another webserver using it
>> on each server. (And we don't want to use more IPs than we have to, or
>> do something ugly like virtual hosts across processes.)
>>
>> So we have to pick another port number. We could use 8080 like Tomcat,
>> but there might also be a Tomcat instance running that we don't control.
>>
>> So, in general, is there any rule you should use when selecting a port
>> number, other than picking one > 1024?
>

8787 is always nice.

-- 

Knute Johnson

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Picking an unused port number nathanturner369@gmail.com - 2016-06-04 08:24 -0700
  Re: Picking an unused port number Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2016-06-04 09:56 -0700
    Re: Picking an unused port number Eric Douglas <e.d.programmer@gmail.com> - 2016-06-06 05:28 -0700
      Re: Picking an unused port number Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2016-06-06 15:40 -0700
        Re: Picking an unused port number Nigel Wade <nmw@ion.le.ac.uk> - 2016-06-07 09:43 +0100
          Re: Picking an unused port number Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2016-06-07 07:43 -0700
            Re: Picking an unused port number Nigel Wade <nmw@ion.le.ac.uk> - 2016-06-07 17:28 +0100
              Re: Picking an unused port number Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2016-06-07 09:40 -0700
                Re: Picking an unused port number Nigel Wade <nmw@ion.le.ac.uk> - 2016-06-08 10:32 +0100
                Re: Picking an unused port number Eric Douglas <e.d.programmer@gmail.com> - 2016-06-08 06:45 -0700
                Re: Picking an unused port number Nigel Wade <nmw@ion.le.ac.uk> - 2016-06-08 15:06 +0100
                Re: Picking an unused port number Eric Douglas <e.d.programmer@gmail.com> - 2016-06-08 07:36 -0700
                Re: Picking an unused port number Martin Gregorie <martin@address-in-sig.invalid> - 2016-06-08 18:03 +0000
  Re: Picking an unused port number Jerry Stuckle <jstucklex@attglobal.net> - 2016-06-04 20:50 -0400
    Re: Picking an unused port number Wayne <wayne@nospam.invalid> - 2016-06-06 18:44 -0400
      Re: Picking an unused port number Jerry Stuckle <jstucklex@attglobal.net> - 2016-06-06 20:52 -0400
        Re: Picking an unused port number Arne Vajhøj <arne@vajhoej.dk> - 2016-06-06 21:28 -0400
          Re: Picking an unused port number Jerry Stuckle <jstucklex@attglobal.net> - 2016-06-06 21:45 -0400
            Re: Picking an unused port number Arne Vajhøj <arne@vajhoej.dk> - 2016-06-06 23:07 -0400
              Re: Picking an unused port number Jerry Stuckle <jstucklex@attglobal.net> - 2016-06-07 09:50 -0400
                Re: Picking an unused port number Lew <lewbloch@gmail.com> - 2016-06-07 13:46 -0700
                Re: Picking an unused port number Jerry Stuckle <jstucklex@attglobal.net> - 2016-06-07 19:31 -0400
                Re: Picking an unused port number Lew <lewbloch@gmail.com> - 2016-06-07 17:26 -0700
                Re: Picking an unused port number Jerry Stuckle <jstucklex@attglobal.net> - 2016-06-07 21:34 -0400
                Re: Picking an unused port number Lew <lewbloch@gmail.com> - 2016-06-08 13:52 -0700
                Re: Picking an unused port number Jerry Stuckle <jstucklex@attglobal.net> - 2016-06-08 17:49 -0400
                Re: Picking an unused port number Arne Vajhøj <arne@vajhoej.dk> - 2016-06-07 21:53 -0400
        Re: Picking an unused port number a.laforgia@gmail.com - 2016-06-07 00:11 -0700

csiph-web