Question: I am creating two docker containers one front end and another one is .net core API. But when i call the API from the front end, I am getting an exception as follows,

> 
> SocketException: Cannot assign requested address
>  System.Net.Http.ConnectHelper.ConnectAsync(string host, int port, CancellationToken cancellationToken)
> 
> 
> HttpRequestException: Cannot assign requested address
>  System.Net.Http.ConnectHelper.ConnectAsync(string host, int port, CancellationToken cancellationToken)
> 
> 
> 

I have also added a docker compose file to enable multi-container deployment but of no use. This is yml file as follows,

```

services:
  dockerdemofrontend:
    image: ${DOCKER_REGISTRY-}dockerdemofrontend
    build:
      context: .
      dockerfile: DockerDemoFrontEnd/Dockerfile

  dockerdemoapi:
    image: ${DOCKER_REGISTRY-}dockerdemoapi
    build:
      context: .
      dockerfile: DockerDemoAPI/Dockerfile

```

I am feeling like those two networks are different. We need to do something in order to get these two talking. Please help me in this regard.

Answer: 
Build always works on my VS code normally. Updating to the latest Flutter 1.12 also started showing this and most times, my code either shows up on my device first before showing that debug has started or the program just quits. Any fix with VS code because I am not an Android Studio fan.
This started occuring after i updated xcode to 14.1.
Simple Restarting mac works with `flutter clean`