Dokploy/dokploy

Cannot connect container in other node cluster

Closed this issue · 1 comments

To Reproduce

  1. add cluster

  2. create 1 service with specify node in manager.
    image

Swarm Config:

{
  "Constraints": [
    "node.role==manager"
  ]
}
  1. create 1 service with specify node in worker.
    image

Swarm Config:

{
  "Constraints": [
    "node.role==worker"
  ]
}
  1. open terminal in service one

  2. do the network test with nc.

nc -vz sample-two-ky5chu 80

image

After a few minute:
image

Another issue

The logs of service two not even loaded
image

Current vs. Expected behavior

It should be connected.

Provide environment information

Operating System:
  OS: Ubuntu 24.04
  Arch: amd64
Dokploy version: 0.13.1
VPS provider: IDCloudhost
Application to test: nginx:alpine

Which area(s) are affected? (Select all that apply)

Docker

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

I tested on IDCloudhost

Will you send a PR to fix it?

Maybe, need help

Duplicate #592