tailscale, tailscaled: update safesocket port number.

This makes them able to connect to each other on Windows.
crawshaw/derptimeout
Avery Pennarun 5 years ago
parent 72d9e1d633
commit 509247bf42

@ -147,7 +147,7 @@ func runUp(ctx context.Context, args []string) error {
prefs.UsePacketFilter = !upArgs.noPacketFilter
prefs.AdvertiseRoutes = adv
c, err := safesocket.Connect(upArgs.socket, 0)
c, err := safesocket.Connect(upArgs.socket, 41112)
if err != nil {
log.Fatalf("safesocket.Connect: %v\n", err)
}

@ -79,6 +79,7 @@ func main() {
opts := ipnserver.Options{
SocketPath: *socketpath,
Port: 41112,
StatePath: *statepath,
AutostartStateKey: globalStateKey,
LegacyConfigPath: paths.LegacyConfigPath,

Loading…
Cancel
Save