Hello Dennis,
Thanks for the tips. Based on what you told me, I found something disturbing. I have googled for solution but maybe I am not keying in the right words, I found nothing to solve this problem (below).
I attached 2 files for your inspection. My vagrantfile (same as the one I sent yesterday) and the output of the netstat command (netstat_missingports.txt). I have attached the ifconfig in my previous post if you want to look at it.
First the vagrantfile:
line 37: I have port forwarded port 443 from guest to port 9443 at host
line 38: I have port forwarded port 80 from guest to port 9080 at host
line 39: I have port forwarded port 4242 from guest to port 4241 at host
As confirmation, I reattached the screenshot of the network setting in the VirtualBox VM for AppDock. The image, NAT & PortForwarding.jpg, shows VM does "see" all the 3 forwarded ports.
Now, when I did the netstat command as you advised (refer to the attached file netstat_missingports.txt), port 4242 is glaringly missing! No wonder nothing is going from the host side to the VM.
Would you have any suggestion as to how I need to modify the vagrantfile in order for port 4242 to be forwarded?
Also, I am not clear what you said about "when you do port-forwarding between docker (i.e. docker-compose) and the
VM you are making a docker service available to the VM (but not to the
host!!)." Can you elaborate a bit more?
Isn't the port forwarding statements in my vagrantfile is telling the VM routing the relevant ports between the host and the guest?
I can access the AppDock using its UI via port 9443. So that port is working.
Also, as I mentioned before, from the UI of the AppDock VM, I can send data to the AppWin using the port # of AppWin and the IP address of my host computer (aka not the private network IP address stated in my vagrantfile) & the AppWin received this data.
How can this happen?
Thanks in advance.
Sorcerer