FetchError request to supabase_kong reason getaddrinfo ENOTFOUND supabase_kong_

I'm using the local development env provided by supabase start

Docker is running. However, when I call the api
const { data, error } = await supabase
    .from('table_name')
    .select(`
      column1,
      column2
    `);


I get an error message as such:
{
  message: 'FetchError: request to http://supabase_kong_projectname:8000/rest/v1/table_name?select=... failed, reason: getaddrinfo ENOTFOUND supabase_kong_projectname',
  details: '',
  hint: '',
  code: 'ENOTFOUND'
}


Can someone please help?
Was this page helpful?