Unable to access VirtualBox web server on port 9000 from host OS


grssnbchr

I have an Ubuntu 12.04 guest VB on a W7 host. On the guest, I am running a web server on port 9000 and the web server is accessible from the guest from above 127.0.0.1:9000.

In VirtualBox, I have two network adapters enabled for the guest. I didn't change the first setting, so it's still NAT. The second adapter is a host-only adapter with default settings (VirtualBox 4.3.8).

ifconfigBoth on the guest show eth0and eth1, eth1there are IP addresses in them 192.168.56.101and I can successfully ping from the host. I can also successfully ping the host from the guest.

On the host, I get a "problem loading page" in FF to access 192.168.56.101:9000. I checked nmap localhostin the guest that 9000 is on: 9000/tcp open cslistener.

What am I doing wrong?

grssnbchr

Found out that the problem was not related to VB or whatever, but to a server that only accepts requests from 127.0.0.1.

Related


Unable to access VirtualBox web server on port 9000 from host OS

grssnbchr I have an Ubuntu 12.04 guest VB on a W7 host. On the guest, I am running a web server on port 9000 and the web server is accessible from the guest from above 127.0.0.1:9000. In VirtualBox, I have two network adapters enabled for the guest. I didn't c

Unable to access web server in Docker swarm from host

Mount I started using Docker on macOS and got stuck trying to complete part 4 of the Getting Started Guide . I created two additional virtual machines ( and ), set up as cluster manager and worker respectively. Then, a stack of 5 Flask web servers was deployed

Unable to access web server in Docker swarm from host

Mount I started using Docker on macOS and got stuck trying to complete part 4 of the Getting Started Guide . I created two additional virtual machines ( and ), set up as cluster manager and worker respectively. Then, a stack of 5 Flask web servers was deployed

Unable to access server running in container from host

Alexander Mills I have a simple Dockerfile FROM golang:latest RUN mkdir -p /app WORKDIR /app COPY . . ENV GOPATH /app RUN go install huru EXPOSE 3000 ENTRYPOINT /app/bin/huru I build like this: docker build -t huru . and run like this: docker run -it -p 3000

Unable to access server on Virtual Box from host?

Banuradi I'm running Ubuntu 18.04.1 in Virtual Box for MacOS. I'm setting up a server localhostin Ubuntu with Python Flask running on Python Flask , http://127.0.0.1:5000/trying to access that localhost from a Mac, but can't. I used a bridge type connection fo

Unable to access server on Virtual Box from host?

Banuradi I'm running Ubuntu 18.04.1 in Virtual Box for MacOS. I'm setting up a server localhostin Ubuntu with Python Flask running on Python Flask , http://127.0.0.1:5000/trying to access that localhost from a Mac, but can't. I used a bridge type connection fo

Unable to access server running in container from host

Alexander Mills I have a simple Dockerfile FROM golang:latest RUN mkdir -p /app WORKDIR /app COPY . . ENV GOPATH /app RUN go install huru EXPOSE 3000 ENTRYPOINT /app/bin/huru I build like this: docker build -t huru . and run like this: docker run -it -p 3000

How can I access a server running in VirtualBox from the host?

Kirkland I am running a web application on a VM. I can view the application localhost:8888through the browser inside the VM . I can't see the app from the host using the same URL. That's the goal. I tried it and VBoxManage modifyvm "VM name" --natdnshostresolv

How to access apache server running in virtualbox from host?

techiek7 I want to access Apache web server running in centos virtualbox. After connecting the laptop to the office LAN, I can access this web server using bridged network mode. But what I want to do is to access when no network is connected. Is virtual interf

How to access apache server running in virtualbox from host?

techiek7 I want to access Apache web server running in centos virtualbox. After connecting the laptop to the office LAN, I can access this web server using bridged network mode. But what I want to do is to access when no network is connected. Is virtual interf

How can I access a server running in VirtualBox from the host?

Kirkland I am running a web application on a VM. I can view the application localhost:8888through the browser inside the VM . I can't see the app from the host using the same URL. That's the goal. I tried it and VBoxManage modifyvm "VM name" --natdnshostresolv

Unable to access port on MacOSX host from within Docker container

Xiphias These are the steps I took: Before work: First: docker-machine create -d virtualbox default Then, I created a container with the following Dockerfile: FROM centos:latest Nothing - just a copy of CentOS. I build the container: docker build -t mycontain