WebKit encountered an internal error (Running localhost web server on iOS Simular's Safari)

Running a web server on localhost is breaking on the iOS Simulator. It is also blocking me from testing my mobile application.

Full Log:

The same happening to me as well. Working fine on iOS 17.5 but not on iOS 18. Refer the below screen shot for iOS 18, whenever i try to hit the local in iOS 18 i gets the error popup saying - Webkit.Networking quit unexpectedly.

Localhost connections are completely erroring on the latest iOS version 18.0

Can someone please help?

WebKit encountered an internal error (Running localhost web server on iOS Simular's Safari)
 
 
Q