Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

DWR using WAN vs LAN

Wayne Bragg

2007-03-03


Please don't laugh at or curse me!

I have been trying to grasp this through all the available documentation and just can't seem to find the right material.

I installed DWR and it's example chat-demo application works fine as long as I access it from LAN using http://localhost:8080/chat-demo/. But if I access it from LAN http://computer-name/chat-demo/ or WAN http://wan-ip/chat-demo/. I get a "Chat is not defined" and "DWRUtil is not defined".

Also, where are these files?


My Configuration:

Windows XP Pro
devside.net Web[Developer] Server Suite 1.94
standard installation
ASP,MYSQL,PHP (not cgi) and Tomcat5

All are working corrcectly.

A couple of things worth noteing. I'm pretty sure my (cable) access provider is blocking 80 so I am forwarding ext. 7075 to int. 80 with Apache still running on 80.

What is the difference between http://localhost/my-page and http://localhost:8080/my-page ?
Why or how is it one uses Apache and the other appears to be recognized by Tomcat?
Can you not run Tomcat apps from the WAN?
I haven't been able to find any docs that explain this and all examples I see for Tomcat use internal http://localhost:8080 to run jsp.
What am I missing?
©2008 junlu.com - Jax Systems, LLC, U.S.A.