據說北京也要上海了??
aDD one public relay and one local relay to test if it shows it can be seen on local relay
我是跟着这个教程来的。 你试看看会不会跟我一样。 https://github.com/scsibug/nostr-rs-relay
ps:我不是程序员猿,不懂代码 :)
Haha, just for fun. I dont know code, just can follow tutorial. But when meet error, I like to google and resolve it. LOL
add relay ws://172.17.0.2:8080
it works
```
$:./noscl publish "hello world"
Sent event 5bc13ed5dfbb9a618066d21547c25a539a1e0d2aca2042e2361d3b5f6143c72c to 'ws://172.17.0.2:8080'.
Seen 5bc13ed5dfbb9a618066d21547c25a539a1e0d2aca2042e2361d3b5f6143c72c on 'ws://172.17.0.2:8080'.
```
$:./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
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",
hello world
```
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0362d54780ba nostr-rs-relay "/bin/sh -c './nostr…" 11 minutes ago Up 11 minutes 0.0.0.0:7000->8080/tcp elated_sha
try rebuild nostr-rs-relay on my vps and still get the error" connection refused". seem NAMESPACE problem What is wrong here?
```
info: downloading component 'rustc'
52.8 MiB / 54.6 MiB ( 97 %) 117.5 KiB/s in 5m 43s ETA: 15s
info: retrying download for 'https://static.rust-lang.org/dist/2022-04-07/rustc-1.60.0-x86_64-unknown-linux-gnu.tar.xz'
```
OH YEAH, resolve the past fortmat: markdown.
```
info: downloading component 'rustc'
52.8 MiB / 54.6 MiB ( 97 %) 117.5 KiB/s in 5m 43s ETA: 15s
info: retrying download for 'https://static.rust-lang.org/dist/2022-04-07/rustc-1.60.0-x86_64-unknown-linux-gnu.tar.xz'
```
Install rust failed, Loop downloading wehn downloaded 97%~~98% of 'rustc"
info: downloading component 'rustc'
52.8 MiB / 54.6 MiB ( 97 %) 117.5 KiB/s in 5m 43s ETA: 15s
info: retrying download for............
LOL
Why no hackers hack GFW? Seems it is 100% uptime, more stable than #bitcoin, LOL