Welcome! Log In Create A New Profile

Advanced

Re: Rev. proxying a java applet

Francis Daly
March 16, 2016 04:44AM
On Mon, Mar 14, 2016 at 12:39:11PM -0400, aruzsi wrote:

Hi there,

> I want to rev. proxying a page with java applet. I think it is usual and
> nothing special ...

The applet itself will be a http request, which it looks like you have
working.

What the applet actually *does* is another matter -- and in general,
only you know what that is.

> The java applet wants to connect to TCP/7000 on the proxied host.
> Something has happened but it doesn't work. :-(

Can you describe the full network traffic when the applet works normally?

The machines involved are:

* the client (your browser)
* the nginx server
* the upstream web server

If nginx were not involved, the client would make a http request of the
upstream web server to fetch the applet, and then... what?

The applet runs on the client and tries to access port 7000 of the server
the client got it from? And speaks http on port 7000; or speaks its own
protocol? Does it use anything other than port 7000?

If it speaks http, then possibly a nginx http server{} which listens on
port 7000 and proxy_passes to the upstream port 7000 could work.

If it uses a single port, then possible a nginx stream server{}
could work.

If the applet knows the upstream it came from, and tries to access that
directly, then nginx is probably not involved.

The best way to understand how to proxy this service (if it is even
possible), is to know what it wants to do, at the network level.

Good luck with it,

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Rev. proxying a java applet

aruzsi March 14, 2016 12:39PM

Re: Rev. proxying a java applet

Francis Daly March 16, 2016 04:44AM

Re: Rev. proxying a java applet

aruzsi March 16, 2016 06:43AM

Re: Rev. proxying a java applet

Francis Daly March 16, 2016 06:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 171
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready