Re: program linking Port error
Re: program linking Port error
- Subject: Re: program linking Port error
- From: Bryan Dempsey <email@hidden>
- Date: Tue, 10 Sep 2002 09:58:15 -0700
Apparently, even when one is using an IP address, OS X wants to have a
domain name for the remote Mac and the Script Editor gives the "port
not open" error when a reverse lookup fails. (At least this is my
understanding--or perhaps "guess" would be better.) What I have had to
do in order to enable program linking is enter a name for each of my OS
9 Macs into the NetInfo Manager--though I believe I read that with
Jaguar, the traditional UNIX-style hosts file is used by default as
well, so that might be another option, but here is what worked for me:
Open NetInfo Manager from your Utilities folder and use the Security
menu to Authenticate with your administrator password. Locate and
select the "machines" category in the column view. Here you should
find "broadcasthost" and "localhost." I chose to duplicate
broadcasthost to create a new machine entry and then entered the
appropriate IP address and a simple, one-word name to identify the Mac
in question. Just repeat the process if you have more than one machine
to talk to.
Now I can use the name that I entered in my AppleScript code like so:
set remote_Finder to application "Finder" of machine
"eppc://bryan:pswd@BeigeG3/"
...
(Or continue using the IP address; both should work now.)
This solution came up on the list some time ago (I think shortly after
the release of OS X 10.1), but I'm afraid I don't remember who first
offered it, so I can't give credit where it is due. At any rate,
hopefully this will get you past the dreaded error -916.
Bryan Dempsey
Hi all. I'm making progress with the program linking (although I
still haven't found the examples that everyone else seems to be
using). I'm getting an error -916 port not open error. I found the
following in the archives, but there was no resolution. I've checked
all of the program linking settings, user priviledges, etc. and all
seems to be in order. I'm running my script that issues the
command to the remote computer from an OS X server and the
remote machine is OS 9.2 with the script app already open and
running. Any ideas?
Ken Fleisher
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.