Docker should be an inside to outside port mapping for your application. The outside port maps needs to reflect your firewall, load balancer, or whatever forwards traffic to it as the destination. [internet]-[firewall]-[host]-[docker] - you want to thread the needle of ports. This to That. If you don't want public facing ports for security reasons, vpn like openvpn or an overlay like zerotier/tailscale is recommended. -mb On Tue, Jun 13, 2023 at 2:03 PM David Schwartz via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > I’m looking for someone familiar with Docker who can help me out a little > bit. > > I’m working on an app with a REST-based web service that I’ve been > building inside of a VM (VirtualBox) running Win 10. I’m having trouble > getting the service part working on a remote server, and someone suggested > using Docker to isolate it and get it running inside of the VM first, then > copy it to the remote server. The remote server is also Windows based, > obviously. > > I’m having trouble getting all of the IPs and ports and holes in the > firewall aligned so I can reach it from outside the server. > > Right now I probably don’t _need_ Docker, although it could be helpful at > some point when I’ll need to scale-up, so I’m not even really committed to > using it other than it might be easier to set it up inside of the VM and > make everything work there first. > > (As much as I’d like to build the service to run on Linux, one of the > libraries I’m using is not set up for Linux yet, so it’s not an option at > this time. The vendor says they might support Linux at some point in the > future.) > > Anyway, I’m just looking to see if anybody might be able to help me get my > service code running on a remote Windows server that’s accessible from > elsewhere. (The code itself runs on the server, I just can’t reach it from > the outside, which is the whole point of having it there.) > > > -David Schwartz > > > > > --------------------------------------------------- > PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > https://lists.phxlinux.org/mailman/listinfo/plug-discuss >