Hi,
You can look at the TCP-number as a physical port on the server (an IP
address) to connect to from 1 to 65536 I think.
The first 1024 TCP-port numbers are reserver for some common things like http
(port 80), https (port 443), portmapper (111) etc.
The high ports from 1024-65536 and above can be used as the programmer likes.
Because two programmers can potentially pick the same port, you have to adapt
your program to be able to use different ports if a conflict is there.
One solution is to use RPC and the portmapper for this. BMC has reserver the
RPC ports 390600-390699 for Remedy AR System.
The RPC port is never shared between different programs.
When the AR Server starts, it contacts the portmapper and askes for a free TCP
port to use for the RPC port 390600, and the portmapper will respond with
something like 12345. All communication to the AR Server will then happen on
TCP port 12345.
The client can find the server by first connecting to the portmapper TCP 111
port and ask for the "physical" connection to RPC 390600 which is known. The
portmapper will then direct the client as well to port 12345.
You can override the "random" assignment of the "physical" TCP-port in ar.cfg,
which is typically important when opening firewall ports. And you can also
skip the portmapper completely by specifying the TCP port 12345 in the client.
There is also another use for the different RPC ports, and that is when you
set up a private server threads on the higher 3906xx numbers. You can then
specify TCP-port to be able to connect directly to those threads via the
RPC-number.
Nowadays I think all communication goes through a single TCP-port to the AR
Server. Earlier there were different TCP-ports for each RPC-number. This makes
it easier for us, but a little confusing...
Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011)
Ask the Remedy Licensing Experts (Best R.O.I. Award at WWRUG10/11/12/13):
* RRR|License - Not enough Remedy licenses? Save money by optimizing.
* RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs.
Find these products, and many free tools and utilities, at http://rrr.se.
> Hi Experts,
>
> What is TCP and RPC port?
> What's the difference between them?
> Why do we use them in remedy?
> What will happen if we eliminate them?
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> "Where the Answers Are, and have been for 20 years"
>
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"