Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using virtualbox and created an ubuntu virtual machine over vm. I installed some web application on ubuntu.

I can access the app 'http://localhost:9999' in linux but when i switched to the windows side, i can not access the url. the network is shared over nat. How can i access that web app someway?

share|improve this question

migrated from stackoverflow.com Nov 10 '11 at 9:19

This question came from our site for professional and enthusiast programmers.

1  
Should go to Superuser or ServerFault, I'd say. Answer depends on the VM software you're using. –  themel Nov 9 '11 at 18:26
    
there are tags called virtualization/virtualbox. that's why this question asked here. –  jacklondon Nov 9 '11 at 18:41

1 Answer 1

up vote 0 down vote accepted

Not by using localhost, that's for sure. If using the IP address doesn't work, you may need to configure the application (webserver?) to bind to the global address.

(sidenote: really a serverfault question?)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.