supabase realtime can’t establish a connection to the server at ws://127.0.0.1:54321/realtime

I have realtime enabled for my locally running supabase instance, but I am seeing this issue when trying to subscribe to the database.

this.supabaseClient.channel('matches_updated')
  .on(
    'postgres_changes',
    { event: '*', schema: 'public', table: 'matches', filter: 'event_id=eq.' + id },
    (payload) => {
      console.error('Change received!', payload)
      }
    )
 .subscribe();

Any advice on where to look for why I'd be seeing a 403 error?
Screenshot_2024-01-14_at_3.37.42_PM.png
Was this page helpful?