Skip to content

Commit 6e56f66

Browse files
committed
Finalizing draft for Ignite
1 parent cf01c02 commit 6e56f66

1 file changed

Lines changed: 17 additions & 20 deletions

File tree

docs/linux/sql-server-linux-configure-msdtc-docker.md

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -55,30 +55,27 @@ In this command, the **RPC Endpoint Mapper** service has been bound to port 1350
5555
5656
## Configure the firewall
5757

58-
In order to communicate with and through the host, you must also configure the firewall on the host server for the containers. Open the firewall for all ports that docker container exposes for communication. In the previous example, this would be ports 135, 51433, 13500, and 51000. These are the ports on the host itself and not the ports they map to in the container. So, if RPC Endpoint mapper port 13500 of container was mapped to host port 13501, then port 13501 would not be opened in the firewall for communication of the host.
58+
In order to communicate with and through the host, you must also configure the firewall on the host server for the containers. Open the firewall for all ports that docker container exposes for communication. In the previous example, this would be ports 135, 51433, 13500, and 51000. These are the ports on the host itself and not the ports they map to in the container. So, if RPC Endpoint mapper port 13500 of container was mapped to host port 13501, then port 13501 (not 13500) should be opened in the firewall for communication with the host.
5959

60-
The following example shows how to create these rules on Ubuntu.
60+
The following example shows how to create these rules on Ubuntu.
6161

62-
sudo ufw allow from any to any port 13500 proto tcp
63-
64-
sudo ufw allow from any to any port 51433 proto tcp
65-
66-
sudo ufw allow from any to any port 51000 proto tcp
67-
68-
sudo ufw allow from any to any port 135 proto tcp
69-
70-
The following example shows how this could be done on Red Hat Enterprise Linux (RHEL):
71-
72-
sudo firewall-cmd --zone=public --add-port=51999/tcp --permanent
73-
74-
sudo firewall-cmd --zone=public --add-port=51433/tcp --permanent
75-
76-
sudo firewall-cmd --zone=public --add-port=13500/tcp --permanent
62+
```bash
63+
sudo ufw allow from any to any port 13500 proto tcp
64+
sudo ufw allow from any to any port 51433 proto tcp
65+
sudo ufw allow from any to any port 51000 proto tcp
66+
sudo ufw allow from any to any port 135 proto tcp
67+
```
7768

78-
sudo firewall-cmd --zone=public --add-port=135/tcp --permanent
69+
The following example shows how this could be done on Red Hat Enterprise Linux (RHEL):
7970

80-
sudo firewall-cmd --reload
71+
```bash
72+
sudo firewall-cmd --zone=public --add-port=51999/tcp --permanent
73+
sudo firewall-cmd --zone=public --add-port=51433/tcp --permanent
74+
sudo firewall-cmd --zone=public --add-port=13500/tcp --permanent
75+
sudo firewall-cmd --zone=public --add-port=135/tcp --permanent
76+
sudo firewall-cmd --reload
77+
```
8178

8279
## Next steps
8380

84-
TBD
81+
For more information about MSDTC on Linux, see [How to configure the Microsoft Distributed Transaction Coordinator (MSDTC) on Linux](sql-server-linux-configure-msdtc.md).

0 commit comments

Comments
 (0)