File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
components/webui/server/src/plugins/MongoSocketIoServer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,8 @@ class MongoSocketIoServer {
96
96
) : Promise < MongoSocketIoServer > {
97
97
const mongoDb = await initializeMongoClient ( options ) ;
98
98
99
- // Fastify listens on all resolved addresses for localhost (e.g. `127.0.0.1`, `:: 1`), but
100
- // socket.io only uses the main one . When multiple addresses are resolved, we proxy
99
+ // Fastify listens on all resolved addresses for localhost (e.g. `::1` and ` 127.0.0.1`), but
100
+ // socket.io can only intercept requests on the main server which listens only on the primary address . When multiple addresses are resolved, we proxy
101
101
// socket.io requests from secondary addresses to the main server.
102
102
try {
103
103
const addresses = await dnsLookup ( fastify . config . HOST , { all : true } ) ;
You can’t perform that action at this time.
0 commit comments