I found that info after sending the reply. Thanks for your help!

On Thursday, May 9, 2024 at 9:15:13 AM UTC+2 Anders Kobberup wrote:

> Hi Craig
>
> That works - awesome!
> We have been using GWT since 2010 for our monolith of a project and have 
> never found the need to change the maven plugin. Whats the improvements 
> over the old plugin?
>
> Kind regards - and thanks again!
>
> /Anders
> On Thursday, May 9, 2024 at 6:02:22 AM UTC+2 Craig Mitchell wrote:
>
>> I haven't used that old plugin for awhile, but I think you need to set 
>> the  bindAddress to 0.0.0.0:  
>> https://gwt-maven-plugin.github.io/gwt-maven-plugin/eclipse-mojo.html#bindAddress
>>
>> You might like to do a test with generating a sample app with 
>> https://github.com/tbroyer/gwt-maven-archetypes which will use 
>> https://github.com/tbroyer/gwt-maven-plugin instead, and see if that 
>> works.  More instructions here:  
>> https://www.gwtproject.org/gettingstarted-v2.html
>>
>> On Thursday 9 May 2024 at 1:36:30 am UTC+10 Anders Kobberup wrote:
>>
>>> I am encountering an issue with accessing the GWT CodeServer from 
>>> outside the Windows Subsystem for Linux (WSL) environment. I'm hoping to 
>>> get some guidance or assistance on resolving this issue.
>>>
>>> The problem arises when attempting to access the GWT CodeServer running 
>>> within the WSL environment from a browser outside of WSL. 
>>> Specifically, I can access the GWT application's main page from my 
>>> browser by navigating to localhost:8001, but I cannot connect to the 
>>> CodeServer at http://localhost:8501.
>>>
>>> From within the WSL terminal i can telnet the port and it looks good, 
>>> but i cannot from the outside host.
>>>
>>> My theory is that the codeserver only accepts connections from localhost 
>>> - but i do not know how to set a host="0.0.0.0" or something like that on 
>>> the jetty running the codeserver.
>>>
>>> We use the org.codehaus.mojo gwt-maven-plugin with these settings:
>>> <plugin>
>>>     <groupId>org.codehaus.mojo</groupId>
>>>     <artifactId>gwt-maven-plugin</artifactId>
>>>     <version>2.10.0</version>
>>>     <configuration>
>>>         <localWorkers>1</localWorkers>
>>>         <skip>true</skip>
>>>         <draftCompile>true</draftCompile>
>>>         <noServer>true</noServer>
>>>         <compileReport>false</compileReport>
>>>         <logLevel>INFO</logLevel>
>>>         <style>OBF</style>
>>>         <sourceLevel>auto</sourceLevel>
>>>         <extraJvmArgs>-Xmx7G --add-opens 
>>> java.base/java.lang=ALL-UNNAMED</extraJvmArgs>
>>>         <workDir/>
>>>         <module>com.toh.manager.ManagerclientDev</module>
>>>         <strict>true</strict>
>>>         <port>8001</port>
>>>         <debugPort>8010</debugPort>
>>>         <codeServerPort>8501</codeServerPort>
>>>         <runTarget>managerclient.html</runTarget>
>>>         <hostedWebapp>${project.basedir}/src/main/webapp</hostedWebapp>
>>>         <persistentunitcache>true</persistentunitcache>
>>>         
>>> <persistentunitcachedir>/tmp/gwt-${project.build.finalName}</persistentunitcachedir>
>>>     </configuration>
>>> </plugin>
>>>
>>> Please let me know if you need anymore information
>>>
>>>

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/4774b340-142b-4e21-a305-fe016e9567b0n%40googlegroups.com.

Reply via email to