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


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

Re: Picking an unused port number

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Knute Johnson <nospam@rabbitbrush.frazmtn.com>
Newsgroups comp.lang.java.programmer
Subject Re: Picking an unused port number
Date Sat, 4 Jun 2016 09:56:02 -0700
Organization A noiseless patient Spider
Lines 25
Message-ID <niv172$pns$1@dont-email.me> (permalink)
References <gIGdna5umL551yLRRVn_vwA@giganews.com> <e72b1da8-383c-4a75-9d47-6f4cd0993b2a@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sat, 4 Jun 2016 16:56:03 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="fc10d1b501433caa198830294d826923"; logging-data="26364"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19DZk1P/qMIjmc7jwSGTRHS"
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
In-Reply-To <e72b1da8-383c-4a75-9d47-6f4cd0993b2a@googlegroups.com>
Cancel-Lock sha1:uLALYfEgF3slO4QdGQblTQWEOvY=
Xref csiph.com comp.lang.java.programmer:34461

Show key headers only | 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