Skip to content

能提供一个参数来设置10086连接的外网ip吗 #502

@shuigedeng

Description

@shuigedeng

Environment:
PowerJob Version: 4.2.0
Java Version: JDK17
OS: macos ventura

DockerCompose: 使用源码提供的compose文件

问题如下:

其中的 192.168.10.210是宿主机地址 172.11.0.52是容器的地址 在本地连接时 172.11.0.52:10086 连不上
请问一下能提供一个参数来设置10086连接的外网ip吗
譬如就像kafka KAFKA_ADVERTISED_LISTENERS 可以设置外网连接的ip

powerjob:
worker:
akka-port: 27777
app-name: ${spring.application.name}
server-address: 192.168.10.210:7700
store-strategy: memory
max-appended-wf-context-length: 8192
max-result-length: 8192

ZipkinTraceId:[:] [TID: N/A] akka.event.slf4j.Slf4jLogger$$anonfun$receive$1:$anonfun$applyOrElse$2:90 : [outbound connection to [akka://oms-server@172.11.0.52:10086], message stream] Upstream failed, cause: StreamTcpException: Tcp command [Connect(172.11.0.52/:10086,None,List(),Some(5000 milliseconds),true)] failed because of akka.io.TcpOutgoingConnection$$anon$2: Connect timeout of Some(5000 milliseconds) expired

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions