Joe Joe - 10 months ago 48
Java Question

How to access web application in host running in virtual machine

Currently I have setup an ubuntu server in virtual PC running in Windows 7.

Got it from

I configured JAVA and JBOSS related configuration and deployed a simple .war file(App).

Now I want to access it in my host pc i.e. in windows.
when I am pinging from host pc

its responding but when I put the ip in host browser its not accessing war file.

I know now i am lacking some more config issue.
How to solve it?

Answer Source

By default, wildfly listens on port 8080 (and the default http port of browsers is 80). So you could use

Alternatively, see the WildFly Admin Guide - Configuring interfaces and ports and change the http binding from 8080.