joe paulens
joe paulens

Reputation: 631

Access to localhost in virtualbox

I have a server on port 8085 (my pc - I use Ubuntu 16.04). There are also Virtualbox with installed Windows 7. I have an internet connection in Windows (it is possible to open google.com etc) but there is no connection to localhost. For localhost:8085 in Ubuntu everything works perfectly but for the same adress in virtual-machine doesn't work.

I tried to modify Settings->Network and put there bridged but there is the same problem.

How is it possible to access it?

Upvotes: 2

Views: 11611

Answers (1)

user3933047
user3933047

Reputation: 46

Try 127.0.0.1 instead of localhost or get ip address with terminal command ifconfig and use the address in the url

Upvotes: 3

Related Questions