Sometimes we can not use the docker-compose.yml configuration and we want to communicate between containers or we want to communicate from inside the container
Forward Port between Docker Containers (in the same network)
apt update && apt install socat
socat TCP-LISTEN:80,fork TCP:<Target Host>:8080 &
Example:
socat TCP-LISTEN:80,fork TCP:mycon:8080 &