You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BEFORE SUBMITTING YOUR ISSUE, PLEASE LOOK AT THE PINNED ISSUES AND USE THE SEARCH FUNCTION TO MAKE SURE IT IS NOT ALREADY REPORTED. ALWAYS COMMENT ON AN EXISTING ISSUE INSTEAD OF MAKING A NEW ONE.
Describe the issue
Going to server > Allow access for external clients > port and put an port more than 65535.
Configuration
UTM Version: Version 4.5.3 (99)
macOS Version: 14.5 (23F79)
Mac Chip (Intel, M1, ...): M1
I didn't foubnd where is the settings file to reset my mistake - UTM crash directly, so I can't change from GUI.
To resolv myself, I make UTM from source, remove server part (comment in UTMRemoteServer), and roll back settings to a good port.
You will just need check if port if not gratter than 65535.
func start() async {
do {
try await center.requestAuthorization(options: .alert)
} catch {
logger.error("Failed to authorize notifications.")
}
await withErrorNotification {
guard await !state.isServerActive else {
return
}
try await keyManager.load()
await state.setServerFingerprint(keyManager.fingerprint!)
registerNotifications()
listener = Task {
await withErrorNotification {
/*
if isServerExternal && serverPort > 0 {
natPort = Port.TCP(internalPort: UInt16(serverPort))
natPort!.mappingChangedHandler = { port in
Task {
let address = try? await port.externalIpv4Address
let port = try? await port.externalPort
await self.state.setExternalAddress(address, port: port)
}
}
await withErrorNotification {
guard try await natPort!.externalPort == serverPort else {
throw ServerError.natReservationMismatch(serverPort)
}
}
}
let port = serverPort > 0 ? NWEndpoint.Port(integerLiteral: UInt16(serverPort)) : .any
for try await connection in Connection.advertise(on: port, forServiceType: service, txtRecord: metadata, connectionQueue: connectionQueue, identity: keyManager.identity) {
let connection = try? await Connection(connection: connection, connectionQueue: connectionQueue) { connection, error in
Task {
guard let fingerprint = connection.fingerprint else {
return
}
if !(error is NWError) {
// connection errors are too noisy
await self.notifyError(error)
}
await self.state.disconnect(fingerprint)
}
}
if let connection = connection {
await newRemoteConnection(connection)
}
}
*/
}
natPort = nil
await stop()
}
await state.setServerActive(true)
}
}
Regards,
Gaël
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
BEFORE SUBMITTING YOUR ISSUE, PLEASE LOOK AT THE PINNED ISSUES AND USE THE SEARCH FUNCTION TO MAKE SURE IT IS NOT ALREADY REPORTED. ALWAYS COMMENT ON AN EXISTING ISSUE INSTEAD OF MAKING A NEW ONE.
Describe the issue
Going to server > Allow access for external clients > port and put an port more than 65535.
Configuration
I didn't foubnd where is the settings file to reset my mistake - UTM crash directly, so I can't change from GUI.
To resolv myself, I make UTM from source, remove server part (comment in UTMRemoteServer), and roll back settings to a good port.
You will just need check if port if not gratter than 65535.
Regards,
Gaël
The text was updated successfully, but these errors were encountered: