© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
32 replies
knation

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();
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
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

realtime on local dev - use 127.0.0.1 instead of localhost
SupabaseSSupabase / help-and-questions
2y ago
Error: P1001: Can't reach database server at `aws-0-us-east-1.pooler.supabase.com:5432`
SupabaseSSupabase / help-and-questions
16mo ago
Supabase Realtime where to get REALTIME_URL?
SupabaseSSupabase / help-and-questions
4y ago
Supabase realtime Changes?
SupabaseSSupabase / help-and-questions
3w ago