Are the two services on the same local network?
The thing is, I'm using:
https://github.com/MiroslavRosenov/better-ipc/tree/main
The default settings for server and client are as follows:
host: 127.0.0.1
port: 1025
But when I try to connect I get this error:
Also for client and server I set only secret_key from class parameters. As far as I understand, websocket is used for connection, I haven't worked with it yet, so I don't fully understand how everything works there. But when I run the site and discord bot from my computer with the same settings, everything works fine
Solution:Jump to solution
not exactly a local network, they are a part of the same private network, so you just need to use the service's assigned private domain
9 Replies
Project ID:
N/A
Solution
not exactly a local network, they are a part of the same private network, so you just need to use the service's assigned private domain
Am I correct in assuming you mean any of these?
specifically the domain you censored, btw it's not sensitive information in the slightest
discord bot code:
Current value:
HOST = 0.0.0.0
When I tried to enter:
netrix.railway.internal
I got:
For the client, I have HOST set up:
netrix.railway.internal
you can't bind to a domain, you need to bind to
::
but use the domain when you connect to the serviceBasically I specified in the HOST for the client:
netrixfun.railway.internal from the Private Networking bot
For the bot as HOST as you said
::
and it worked. But I have one more question, if I replace ::
with - netrixfun.railway.internal will it still work?It is still better to leave
::
, with other values nothing works
@Brody Thank you for your help :salute:yes
::
is what you want to use to listen on