On Mon, Aug 31, 2020 at 9:02 AM Michał Kalinowski
<[email protected]> wrote:

> That is actually a very clever point that I didn't consider, but
> unfortunately both arguments for *setParameter* method must be a String.
> It will not accept an Integer. And this part is copy/paste exactly from the
> Guacamole guide, so I don't think that's the part that causes this error.
>
> Oops, sorry about that, you are correct.


> The exception tells that this operation:
>
>
> *GuacamoleSocket socket = new ConfiguredGuacamoleSocket(*
> *                    new
> InetGuacamoleSocket("http://exampledockerpage.mydomain.com";
> <http://exampledockerpage.mydomain.com>, 8443),*
> *                    config*
> *            );*
>
>
> causes it to be thrown. Description of *InetGuacamoleSocket *constructor shows
> that I should provide Guacamole proxy server and the port, but should those
> be the same as in the address that I can access Guacamole Clinet panel at?
>
>
>
No, the InetGuacamoleSocket should be connecting to your guacd system, so
it should be the hostname/IP of the system where guacd is running and the
port guacd is running on (4822 by default).  The example you cited has the
defaults - localhost (assuming guacd and Tomcat/Spring are running on the
same system, and 4822 by default.  In a Docker environment you'd just need
to change localhost to the internal hostname or IP of the container running
guacd.

-Nick

>

Reply via email to