ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] Remote IE5 access problem
Ingo Pakleppa
Wed, 19 Apr 2000 21:07:20 -0700

Don't use the ECS_HOST parameter; instead, use:

getCodeBase().getHost()

to obtain the name or IP address of the server that you can connect to. 
This is the only one that you are supposed to be able to establish a 
connection to. getCodeBase is a method in the Applet object that starts 
everything.

The ECS_PORT parameter should work, I think.

Ingo

At 05:43 PM 4/19/00 -0400, Mark Gilmore wrote:
>When the ECS web server receives a request for a Group,
>it creates/returns a web page with an ECSIO applet having
>the appropriate "ECS_HOST" parameter (d.d.d.d) and "ECS_PORT"
>parameter (d). When the applet is activiated, it uses these
>parameter settings when calling socket().
>--
>Mark Gilmore
>Omnipotence (ECS home automation software)
>http://www.usit.com/omnip
>423-745-0026
>Hours: Mon-Sat, 9AM-8PM/EST
>
>
>Ingo Pakleppa wrote:
> >
> > At 05:16 PM 4/19/00 -0400, Mark Gilmore wrote:
> > >Using this in HOSTS (NO port), the applets would not load:
> > >         127.0.0.1       localhost
> > >         216.80.146.195  mark
> >
> > What URL are you using? http://mark:3000/somethingorother.html?
> >
> > >Using this (WITH port), the applets loaded, but the
> > >original failure returned:
> > >         127.0.0.1       localhost
> > >         216.80.146.195:3000  mark
> >
> > This is an illegal syntax. The HOSTS file is about IP addresses and good
> > for all ports. You can't specify just one port. Thus, this is as if the
> > line wasn't there at all.
> >
> > >I'm quite lost at this point.
> > >I don't understand why NS is happy, while IE5 is not.
> > >--
> > >Mark Gilmore
> > >Omnipotence (ECS home automation software)
> > >http://www.usit.com/omnip
> > >423-745-0026
> > >Hours: Mon-Sat, 9AM-8PM/EST


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.