You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sending-commands/websocket.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,15 +16,15 @@ The listen address and port can be set with `WEBSOCKET_ADDRESS` (defaults to `0.
16
16
## Log history
17
17
When a connection is established, the last 50 (by default, configurable with `WEBSOCKET_LOG_BUFFER_SIZE`) log lines are sent with a `logHistory` type message.
18
18
19
-
## Docker port forwarding
20
-
Remember to forward the websocket port to the host:
21
-
```yaml title="compose.yaml"
22
-
services:
23
-
mc:
24
-
ports:
25
-
- '25565:25565'
26
-
- '80:80'
27
-
```
19
+
??? tip "Tip: Remember to forward the websocket port on the host"
0 commit comments