-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Interesting find out:
{"host":"127.0.0.1","ip":"x.y.217.105","port":8788}It seems that the service discovery thinks that the Puppet Service Service IP is not public accessible.
Related source code:
Lines 362 to 375 in 17c715f
| /** | |
| * Huan(202201): test whether the puppet service server host/port | |
| * can be visited by the internet | |
| */ | |
| const isReachable = await isPortReachable(port, { | |
| host, | |
| timeout: 5 * 1000, | |
| }) | |
| const data = { | |
| host: isReachable ? host : '127.0.0.1', | |
| ip: host, // <- `ip` is deprecated, use `host` instead. Will be removed after Dec 31, 2022 Huan(202108) | |
| port, | |
| } |
Originally posted by @huan in Chatie/server#96 (comment)
Metadata
Metadata
Assignees
Labels
No labels