web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Get to BC on Docker Container through the Internet

(0) ShareShare
ReportReport
Posted on by 237

Hello, BC Experts,


I set up a BC environment in a Docker container on Windows 2019 server at Azure.

Local access to the environment works, but not through the Internet.

Could anyone teach me how to make this happen?

Windows 2019 server global IP address: xxx.xxx.xxx.xxx (masking the actual IP address)


Docker Container IP address: 172.21.55.10

Web Client URL: https://172.21.55.10/BC/ <=== this works locally on Windows 2019 server


Port Forwarding on Windows 2019 server

Address Port Address Port
--------------- ---------- --------------- ----------
xxx.xxx.xxx.xxx 443 172.21.55.10 443

Port 443 is open on Windows 2019 server


Docker port mapping 443/tcp -> 0.0.0.0:443

I expect that using the URL of https://xxx.xxx.xxx.xxx:443/BC let me get to BC on Docker, but this never works.

Please advise.

Thank you.

I have the same question (0)
  • Verified answer
    Mohamad Vajid Profile Picture
    on at
    RE: Get to BC on Docker Container through the Internet

    github.com/.../NavContainerHelper.md

  • Verified answer
    Marco Mels Profile Picture
    on at
    RE: Get to BC on Docker Container through the Internet

    Hello,

    Thank you for sharing this information. It will certainly help others.

    Thanks.

  • adams1124 Profile Picture
    237 on at
    RE: Get to BC on Docker Container through the Internet

    I happened to find how to do it.

    It is NAT setup which is needed for the Windows server where the Docker container is.

    So it is mainly 3 setups needed after all:

    1. Azure inbound security rule

    2. Windows 2019 firewall inbound setup

    3. NAT setup on Windows 2019

    For someone like me who is not a network/server specialist, it took almost one week to find this out.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,683 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,603

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,214

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans