On Friday, July 8, 2016 at 6:32:26 PM UTC+2, N Troncoso wrote:
>
> I need to be able to hit my dev mode machine remotely. I'm using the Maven 
> Plugin for GWT (tbroyer version). The standard commands don't let you hit 
> the remote machine at all.
>
> If I add -Dgwt.bindAddress=0.0.0.0 to the code server command:
>
> call mvn gwt:codeserver -pl client -am -Dgwt.bindAddress=0.0.0.0
>

net.ltgt.gwt.maven:gwt-maven-plugin, which has a gwt:codeserver goal, has 
no property that binds to gwt.bindAddress "natively", so unless you define 
a gwt.bindAddress property in your POM and pass -bindAddress explicitly in 
codeserverArgs, that won't do anything.

org.codehaus.mojo:gwt-maven-plugin has a gwt.bindAddress, but its goal is 
gwt:run-codeserver.

So, which one do you use, and what's your configuration?
 

> I can hit it remotely, but I get a dialog that says "Can't find code 
> server. Please make sure it's ready". I don't know what to do to get past 
> that.
> On the same machine, that just means the browser is blocking insecure 
> content. Clicking the shield in the address bar (left in FF, right in 
> Chrome) let's you disable this.
> I did this on the remote machine, but it still fails to load.
>

What are the URLs the browser loads or tries to load?
Also, you may have to pass your machine's IP address or network name 
instead of 0.0.0.0; and make sure you reach your web server with that same 
value (I can't remember if it's really needed, but just in case…)

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to