Skip to content

Commit 852c40f

Browse files
committed
Docker README: add a note about CONNECT_URL setting and that it should not be localhost.
Signed-off-by: Marios Andreopoulos <opensource@andmarios.com>
1 parent 946574f commit 852c40f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docker/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ URL:
1515

1616
Visit http://localhost:8000 to see the UI.
1717

18+
| **Important**: For the `CONNECT_URL` you have to use an IP address or a domain
19+
that can be resolved to it. **You can't use** `localhost` even if you serve
20+
Connect's REST port at your localhost. The reason for this is that a docker
21+
container has its own network, so your _localhost_ is different from the
22+
container's _localhost_. As an example, if you are in your home network and
23+
have an IP address of `192.168.5.65` and run Connect from your computer,
24+
instead of `http://127.0.1:8083` you must use `http://192.168.5.65:8083`.
25+
1826
Please note that because Connect does not send CORS headers, we have to proxy
1927
it. What this means for you, is that Connect, while running the container, is
2028
accessible via `http://your.address:8000/api/kafka-connect`. If this is a

0 commit comments

Comments
 (0)