Does anybody know how to allow both IIS 7 and JBoss AS 7 to run and host applications on a Windows 2008 Server? I have a Windows 2008 VPS that I have hosting some ASP.NET websites and apps via IIS through port 80, the default. Now I want to host some JBoss Seam web apps (and RESTEasy web services), which presumably I will need to do on another port (eg. 8080).
I have modified the standalone.xml configuration file in JBoss AS in the standalone configuration folder so that the socket binding name "http" runs from port 8080. However the server is not responding when I try to request my apps that are running on JBoss AS from browsers on other machines outside the server, eg:
www.notmyrealdomain.com:8080
... does not return any response. When I use
localhost:8080
... to browse on the server itself, I can load web page and applications from JBoss AS just fine. So surely there is either a Windows setting or JBoss AS setting that requires changing to get this to work.
Any help much appreciated.
You need to make jboss as 7 instance bind against the ip that resolves to www.notmyrealdomain.com
.
you can do that by running jboss as:
standalone.bat -b <EXTERNALIP>
Regards
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With