HA IOS App unable to connect to new HA Green

Brand new Home Assistant Green, when opening the HA iOS app on iPhone 13 running 17.6.1 I see an available server for connection:
http://192.168.4.146:8123
I click on that, and eventually it times out giving the error:
Failed to Connect
The request timed out.
Error Code:
NSURELErrorDomain -1001

Am able to successfully connect from a browser on a Windows computer using Chrome by going to:
http://homeassistant.local:8123/

Through the iPhone app I can export log files and I can see the following error message:

2024-10-03 21:01:08.949 [Verbose] [main] [Realm+Initialization.swift:95] getRealm(objectTypes:) > Current schema version 28
2024-10-03 21:01:08.949 [Verbose] [main] [Realm+Initialization.swift:100] getRealm(objectTypes:) > Schema version defined: 28
2024-10-03 21:01:41.403 [Verbose] [main] [OnboardingManualURLViewController.swift:144] connectTapped(_:) > Connect button tapped
2024-10-03 21:01:41.411 [Info] [main] [OnboardingAuth.swift:80] performPreSteps(checkPoint:authDetails:sender:) > beforeAuth
2024-10-03 21:01:41.411 [Verbose] [main] [OnboardingAuthStepConnectivity.swift:25] perform(point:) > 
2024-10-03 21:02:41.859 [Info] [main] [OnboardingAuth.swift:70] perform(checkPoint:checks:) > OnboardingAuthStepConnectivity: rejected(HomeAssistant.OnboardingAuthError(kind: HomeAssistant.OnboardingAuthError.ErrorKind.other(Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x300b35b00 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <73BBA399-DC3A-4A00-A824-123EABCAC51B>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalDataTask <73BBA399-DC3A-4A00-A824-123EABCAC51B>.<1>"
), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=http://homeassistant.local:8123/lovelace/0/auth/authorize?response_type=code&client_id=https://home-assistant.io/iOS&redirect_uri=homeassistant://auth-callback, NSErrorFailingURLKey=http://homeassistant.local:8123/lovelace/0/auth/authorize?response_type=code&client_id=https://home-assistant.io/iOS&redirect_uri=homeassistant://auth-callback, _kCFStreamErrorDomainKey=4}), data: nil))
2024-10-03 21:06:00.523 [Info] [main] [PeriodicUpdateManager.swift:57] connectAPI(reason:) > Connect finished for reason periodic
2024-10-03 21:07:03.476 [Info] [main] [PeriodicUpdateManager.swift:57] connectAPI(reason:) > Connect finished for reason warm
2024-10-03 21:09:24.560 [Info] [main] [PeriodicUpdateManager.swift:57] connectAPI(reason:) > Connect finished for reason warm

Any suggestions on what to attemp to get the iPhone companion app working?

Hello,

Try to set internal and external url in the server settings to the ip address of the HA server, this worked for me.

Thanks for the reply!

Sadly, did not work for me.

Notes for anyone following:
internal and external url were not immediately available on Home Assistant Green. First needed to turn on Advanced mode by clicking on username in the lower left. Then add a file Editor, click on the FIle Editor in the toolbar on the left, click on the folder in the upper left and choose to edit configuration.yaml
Add the following:

homeassistant:
  ....
  external_url: "http://<ip_address>:8123"
  internal_url: "http://<ip_address>:8123"

You can restart by going to:
Settings > System
And in the upper right is a power button icon that lets you restart.

Now you can edit external and internal URL by going to
Settings > System > Network > Home Assistant URL

I set up a Nabu Casa account and enabled the cloud. If I manually enter the Nabu Casa URL into the app, I can get a login page to appear.

I can’t log in as it always says the password is wrong. This is repeatable on the computer browser as well, but now I assume that’s an issue for a different thread.