Port Number for AppleScript over IP in OS 9?
Port Number for AppleScript over IP in OS 9?
- Subject: Port Number for AppleScript over IP in OS 9?
- From: Christian Boyce <email@hidden>
- Date: Wed, 8 Nov 2000 23:20:55 -0800
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?
My script is a simple beep (on a remote machine, running OS 9) but I get
an error everytime. If I run the script but instead target the internal
IP address (192.168.1.100) it works. It fails when I target the router's
fixed IP, which is what I would do from the outside.
Am I doing this all wrong? Here is the script.
set remotemac to "eppc://1.2.3.4" --this is not my real IP, for security
reasons
--set remotemac to "eppc://192.168.1.100"-- this is the IP on the LAN
side for this Mac
tell application "Finder" of machine "remotemac"
beep
end tell
The commented-out line, if made active (and if we comment out the top
line), makes the script work perfectly. Basically, the script works when
I use the "local" address, but not when I use the router's address. There
has to be a port number used by AppleScript over IP-- what is it?
Thanks in advance.
Christian Boyce
http://www.christianboyce.com
Buy my car! 1989 Mercedes 300CE! Looks good! Goes fast!
http://christianboyce.com/mygreencar.html