Brian,

did you also set LHOK=: 1 in jhs.ijs? Also edit the file jhs.ijs
(not jhs_default.ijs)

If you want to access your computer from remote. the ip
192.168.... will work not unless perhaps you also have set up a VPN.

Eric should know much better than me.

Пт, 04 апр 2014, Brian Schott писал(а):
> Eric and others,
> 
> I would like to use my ipad browser this weekend to demonstrate jhs, not j
> on the ipad. So before I leave for the weekend I would like to be able to
> launch a single jhs on my Mac using the shareable folder location
> http://192.168.2.2/~brian/  and leave it running while I am away visiting.
> (The shareable folder is linked to Users/brian/Sites via the OS.)
> 
> So first I learned how to force a password on plain old jhs, even jhs in
> its standard location, Users/brian/jhs801.
> 
> Then I copied the whole jhs801 download into the folder Users/brian/Sites.
> When I then opened Users/brian/Sites/j64-801/jhs801 I was disillusioned
> because JHS opened directly without asking me for my password, so I guess
> the file /Users/brian/j64-801/addons/ide/jhs/config/jhs_default.ijs (NB. no
> Sites) was being called because no password was requested.
> 
> So I tried to reread the beginning of the
> file /Users/brian/j64-801/addons/ide/jhs/config/jhs_default.ijs to see if I
> can launch it more directly. The file begins as follows.
> 
> NB. JHS initialization
> NB.  loads
> NB.   ~addons/ide/jhs/config/jhs_default.ijs
> NB.  then loads first file (if any) that exists from
> NB.   init x arg (error if not '' and does not exist)
> NB.   ~config/jhs.ijs
> NB.   ~addons/ide/jhs/config/jhs.ijs
> 
> NB. config assumed complete if PORT defined when init called
> 
> NB.  if init x arg starts with PORT=: then ". instead of load
> NB.  start server on port 65011 without editing files with:
> NB.  ...jconsole ~addons/ide/jhs/core.ijs -js " 'PORT=:65011'init_jhs_'' "
> 
> 
> So I issued the following commands in the unix terminal/console, only to
> get the error message.
> 
> server:j64-801 brian$ cd /Users/brian/Sites/j64-801/bin server:bin brian$
> ./jconsole ~addons/ide/jhs/core.ijs -js " 'PORT=:65011'init_jhs_''
> "/Users/brian/Sites/j64-801/bin
> |domain error: ARGVVERB__
> |   'PORT=:65011'init_jhs_''/Users/brian/Sites/j64-    801/bin
> 
> Am I on the right track to accomplish this goal, and can I get some
> guidance how to complete the goal?
> 
> I am replying to the message below, because I hope to show what I am not
> trying to do any longer with JUM etc, because that is unnecessarily
> versatile for my needs. I merely want to access my home computer - myself -
> from afar.
> 
> Thanks,
> 
> 
> On Sat, Feb 26, 2011 at 3:34 PM, Eric Iverson <[email protected]>wrote:
> 
> > All you need is JHS to do what you describe. You don't need apache or
> > anything else. You need to read ~addons/ide/jhs/jhs_default.ijs and folow
> > the instructions (basically copy to jhs.ijs and edit BIND=: to be 'any' and
> > possibly USER=: and PASS=:.
> >
> > On Sat, Feb 26, 2011 at 10:35 AM, Brian Schott <[email protected]
> > >wrote:
> >
> > >        I am not even sure the Subject: is correct, but I
> > > would like to host J from my Mac only on my home wifi
> > > network so that I could sit in my easy chair and play with J
> > > from an itouch, for example. My questions are, can I do it
> > > without starting the (Apache) server or not, and if so are
> > > there other System Preferences|Sharing|Services... that must
> > > be selected, and any other guidance anyone can give, please?
> > >
> > > TIA,
> > > --
> > >
> > > (B=)
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> 
> 
> 
> -- 
> (B=) <-----my sig
> Brian Schott
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to