Welcome to the Linux Foundation Forum!

Lab 4.1 - Access Emoji Vote App from Host

kaisong
kaisong Posts: 13
edited January 17 in LFS243 Class Forum

My setup is as follow:

  • Host: MacOS
  • VM: Virtualbox Running Ubuntu Server (No GUI)
  • Virtualbox NAT forwarding for port 7070 -> 8080

At step 8, I was able to verify the app is running with curl http://127.0.0.1:8080/. However, without GUI, I can't interact with the app.

With the NAT forwarding, I expect to access the app from my MacOS via http://127.0.0.1:7070/. However, the request got reset by peer:

$ curl http://127.0.0.1:7070/
curl: (56) Recv failure: Connection reset by peer

Can anyone help me access the App from my host?

Categories

Upcoming Training