Re: need help Connect failure in an applet

Поиск
Список
Период
Сортировка
От Alex Turner
Тема Re: need help Connect failure in an applet
Дата
Msg-id 33c6269f05010709047567ca74@mail.gmail.com
обсуждение исходный текст
Ответ на need help Connect failure in an applet  ("John Doggett" <jdoggett@markem.com>)
Ответы Re: need help Connect failure in an applet  ("John Doggett" <jdoggett@markem.com>)
Список pgsql-general
An applet is only permitted to connect back to the originating server
IP that served the HTTP request.  If you try to connect to a different
address, it will fail with a permissions exception.  127.0.0.1 is the
localhost loopback address, and would not work from a remote host
either.

Alex Turner
NetEconomist

On Fri, 7 Jan 2005 11:23:46 -0500, John Doggett <jdoggett@markem.com> wrote:
>
>
> Does anyone know why a connect call will fail with an
> AccessControlException:access denied(java.net.SocketPermission
> 127.0.0.1:5432 connect, resolve) from a browser delivered applet?
>
> The applet works fine in the debugger.
>
> I have PostgreSQL running in windows.
>
> Jay
>
> This e-mail message and any attachments are confidential and may be
> privileged.  If you are not the intended recipient, please notify MARKEM
> Corporation immediately -- by replying to this message or by sending an
> e-mail to helpdesk@markem.com -- and destroy all copies of this message
> and any attachments. Thank you.
>
> Nothing contained within this e-mail, including attachments, is intended to
> include or constitute an "electronic signature" as defined in 15 U.S.C. §
> 7006(5).
>

В списке pgsql-general по дате отправления:

Предыдущее
От: Xinshu Piao
Дата:
Сообщение: unsubscribe
Следующее
От: Alban Hertroys
Дата:
Сообщение: Transaction size