Connectivity

This page lists some things to try when you're having trouble connecting apps end-to-end using Rainway.

Can't connect to Rainway

If your app fails to connect to the Rainway Network, here are some things to try:

  • Make sure you aren't blocking WebSockets or wss://gateway.rainway.network:443 in your browser or firewall.
  • Connections can fail if you have two instances of the Rainway SDK running. Check your processes or browser tabs for conflicting instances of Rainway with the same origin.

Can't connect to remote peer

If you can't connect to a remote peer by its Peer ID, here are some things to try:

  • Double-check that both peers are using the same API key. Manage your keys here.
  • Make sure you aren't blocking WebRTC in your browser or firewall. Try disabling browser extensions. Check the port range in your RainwayConfig.
  • If you're on a LAN, make sure you aren't blocking mDNS (UDP port 5353).
    • On Windows, you may need to enable a firewall rule: Press Win+R, open wf.msc, and enable the rule called mDNS (UDP-In) in the Domain and Private profiles.

I still can't connect!

Let us know on the forum, and we'll do our best to help you out.


Did this page help you?