oH YEAh, I found the internal IP. and then
```
sudo docker inspect 0362d54780ba | grep "IPAddress"
"SecondaryIPAddresses": null,
"IPAddress": "172.17.0.2",
"IPAddress": "172.17.0.2",
oH YEAh, I found the internal IP. and then
```
sudo docker inspect 0362d54780ba | grep "IPAddress"
"SecondaryIPAddresses": null,
"IPAddress": "172.17.0.2",
"IPAddress": "172.17.0.2",
```
$:./noscl publish "hello world"
<> 2022/04/23 20:19:14 error adding relay 'ws://0.0.0.0:8080': error opening websocket to 'ws://0.0.0.0:8080': dial tcp 0.0.0.0:8080: connect: connection refused
Sent event 5bc13ed5dfbb9a618066d21547c25a539a1e0d2aca2042e2361d3b5f6143c72c to 'ws
That's not a valid relay ip, i think you meant ws://127.0.0.1:8080 ?
add relay ws://172.17.0.2:8080
it works
nice, I think you made your life harder by dealing with docker nonsense but at least it works!
Haha, just for fun. I dont know code, just can follow tutorial. But when meet error, I like to google and resolve it. LOL
我今天在看这个代码库,计划明天我也部署一个试试看。
我是跟着这个教程来的。 你试看看会不会跟我一样。 https://github.com/scsibug/nostr-rs-relay
ps:我不是程序员猿,不懂代码 :)
```
$:./noscl publish "hello world"
Sent event 5bc13ed5dfbb9a618066d21547c25a539a1e0d2aca2042e2361d3b5f6143c72c to 'ws://172.17.0.2:8080'.
Seen 5bc13ed5dfbb9a618066d21547c25a539a1e0d2aca2042e2361d3b5f6143c72c on 'ws://172.17.0.2:8080'.