Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

DB server is not visible in-service Map that is getting connected by generic application on linux.

Dipakkumar123
Tera Contributor

Hi Folks,

 

MySQL DB Server behind the Linux server which is running a generic application is not reflecting in service mapping

Generic application : keycloak running on linux server which is connecting to the Mysql DB Server that's not getting reflecting in Service Map.

Below is the map

 

Dipakkumar123_0-1758384572706.png

Below is the connection flow

[Keycloak Application]
|
| JDBC: localhost:6446
v
[Docker Proxy on host:6446]
|
| TCP Forward
v
[MySQL Router Container]
|
| Connects via MYSQL_HOST/MYSQL_PORT
v
[MySQL Cluster]
(DB1, DB2, DB3)


Details:

Key cloak does not know the real DB IPs.

It only sees localhost:6446.

Docker-proxy listens on all interfaces and forwards traffic into the container.

MySQL Router inside the container handles routing to the correct cluster node using the environment variables.

Logs inside Key cloak only shows jdbc: mysql://localhost:6446 because it doesn’t see beyond the router.

 

0 REPLIES 0