That's what I assumed, and what Wikipedia shows. OTOH I received a private reply saying that ports must be unique across an entire server. I guess I'll build a test and find out.
Thanks guys,
-----Original Message-----
From: David Gibbs via MIDRANGE-L [mailto:midrange-l@xxxxxxxxxxxxxxxxxx]
Sent: Monday, May 27, 2019 10:20 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Cc: David Gibbs <david@xxxxxxxxxxxx>
Subject: Re: Ports IP specific?
On 5/26/19 10:32 AM, Justin Taylor wrote:
Assuming my server IP is 9.8.7.6, can different services listen on
9.8.7.6:54321 and 127.0.0.1:54321?
Yes, as long as the services can bind to a specific IP address and don't bind to all addresses (0.0.0.0).
david
--
IBM i on Power Systems: For when you can't afford to be out of business!
I'm riding 615 miles (Yes, you read that right) in the American Diabetes Association's Tour de Cure to raise money for diabetes research, education, advocacy, and awareness. You can make a tax-deductible donation to my ride by visiting
https://mideml.diabetessucks.net.
You can see where my donations come from by visiting my interactive donation map ...
https://mideml.diabetessucks.net/map (it's a geeky thing).
I may have diabetes, but diabetes doesn't have me!
As an Amazon Associate we earn from qualifying purchases.