Re: Port Number for AppleScript over IP in OS 9?
Re: Port Number for AppleScript over IP in OS 9?
- Subject: Re: Port Number for AppleScript over IP in OS 9?
- From: Christopher Nebel <email@hidden>
- Date: Thu, 9 Nov 2000 15:34:32 -0800
On Wednesday, November 8, 2000, at 11:20 PM, Christian Boyce wrote:
>
I have a firewall here (MacSense XRouter) and it works great. I know that
>
I have to "poke holes" in the firewall in order to do certain network
>
things (for example, if I want to share my hard disk, I have to tell my
>
XRouter to route port 548 to my machine). This works great.
>
>
Now I want to open a port for AppleScript (apple events?) to work over
>
IP. Question is, which port is it?
From the Mac OS 9 tech note,
<
http://developer.apple.com/technotes/tn/tn1176.html#ppctoolbox>:
"The implementation of PPC over TCP/IP listens at port number 3031 for
incoming PPC over TCP/IP connections. Although it is not possible to change
the listening port number, it is possible to specify a port number in outgoing
PPC over TCP/IP connection requests.
This ability is useful in situations where multiple hosts share a single IP
address. For example, on the outside of a network address translator (NAT) a
number of different machines may have the same IP address, while on the inside
of the NAT they may each have a unique IP address. In these cases, it is
necessary for external clients to refer to different machines using different
port numbers instead of unique IP addresses. The NAT itself must do the
translation from port numbers to internal IP addresses using port number
3031.
Using this same example, external clients can select a specific target machine
by specifying the machine's port number in the outgoing PPC over TCP/IP
connection by providing the port number in the destination address. For
example, the address eppc://myhost.mycompany.com:1234 specifies port number
1234."
--Chris Nebel
AppleScript Engineering