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 applet access problem
Mark Gilmore
Fri, 14 Apr 2000 12:59:55 -0400

Hi Dario,
I included the port # in the host name, but got a similar result:
	netscape.security.AppletSecurityException: security.
	Couldn't resolve IP for host 216.80.145.31:3000 or for localhost.

BTW, the call that is failing is SOCKET() below:

	String	ecs_host = "216.80.145.31:3000";
	int	ecs_port = 0;
	Socket	cs;
	...
	try {cs = new Socket(ecs_host, ecs_port);}

But the ACTUAL failure is in a GetByName() call,
as performed by Socket().
-- 
Mark Gilmore
Omnipotence (ECS home automation software)
http://www.usit.com/omnip
423-745-0026
Hours: Mon-Sat, 9AM-8PM/EST


Dario Greggio wrote:
> 
> Mark Gilmore wrote:
> >
> >
> > I get the feeling that I am missing something obvious.
> > I note that the addr in message below does NOT include the port #
> > (3000).
> > Any ideas ? Thanks.
> 
> Could it be so obvious? :-))
> If you don't enter a port#, any browser will default to port 80
> (decimal).
> So, you should either change the setting for ECS (as I did with my
> Joshua) or force the ":3000" in the remote address. But in the second
> case you may have proxy troubles or things like those.
> So, unless you (or anybody else) is having a Web server installed, I
> suggest changing it. Proxy (such as Wingate) don't have this problem, as
> you can always move them to another port (there is no default, 8080 is
> just a suggestion).
> 
> Did you incorporate also a FTP server, or mail server, or telnet server?
> They are less useful than HTML/JAVA, but you could use FTP or telnet to
> get (or set) status in text-only window mode. Or you could get emails to
> alert the user. It's fast (faster than Java!! You did a great job!) and
> easy in C++.
> 
> --
> Ciao,
> Dario
> --
> ADPM Synthesis sas - Torino
> --
> http://www.geocities.com/adpm99

  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
.