We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb5965f commit d240aa1Copy full SHA for d240aa1
cmd/outline-ss-server/main.go
@@ -23,7 +23,6 @@ import (
23
"net/http"
24
"os"
25
"os/signal"
26
- "strconv"
27
"sync"
28
"syscall"
29
"time"
@@ -212,7 +211,10 @@ func (s *OutlineServer) runConfig(config Config) (func() error, error) {
212
211
cipherList.PushBack(&entry)
213
}
214
for portNum, cipherList := range portCiphers {
215
- addr := net.JoinHostPort("::", strconv.Itoa(portNum))
+ // NOTE: We explicitly construct the address string with only the port
+ // number. This will result in an address that listens on all available
216
+ // network interfaces (both IPv4 and IPv6).
217
+ addr := fmt.Sprintf(":%d", portNum)
218
219
ciphers := service.NewCipherList()
220
ciphers.Update(cipherList)
0 commit comments