Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moneronod #9658

Open
XJIeb opened this issue Dec 27, 2024 · 2 comments
Open

moneronod #9658

XJIeb opened this issue Dec 27, 2024 · 2 comments
Labels

Comments

@XJIeb
Copy link

XJIeb commented Dec 27, 2024

Run moneronod with log level 3
conf file
rpc-bind-ip=241.42.75.82 #(this is example ip from zerotier because i cant open ports)
rpc-bind-port=18081
confirm-external-bind=true
rpc-login=LOGIN:PASSWORD
log-level=3
db-sync-mode=fast
data-dir=M:\untitled

after this i bought ubuntu server to connect with rpc

this conf ubuntu
data-dir=/root/monero_data
rpc-bind-ip=281.42.491.761 #(this is example ip from zerotier because i cant open ports)
rpc-bind-port=18081
rpc-login=LOGIN:PASSWORD
confirm-external-bind=true
p2p-bind-ip=281.42.491.761
p2p-bind-port=18080
bootstrap-daemon-address=241.42.75.82:18081
bootstrap-daemon-login=LOGIN:PASSWORD
log-level=3
db-sync-mode=fast

Now i have node on Win if i want to check status it says
2024-12-27 01:41:41.428 I Monero 'Fluorine Fermi' (v0.18.1.1-release)
Error: Couldn't connect to daemon: 127.0.0.1:18081

same on ubuntu
telnet from ubuntu to win is succesful but if i wanna make curl http://281.42.491.761/get_info --user LOGIN:PASSWORD
it says

<title>Unauthorized Access</title>

401 Unauthorized

for me will be cool to rpc connect with my windows node on log lvl 3

Mb i can make thsi from gui on windows not with moneronod on windows?
but what flags or params i need>?
maybe somebody can explain me
image

I wanna make 2 moneronod with log lvl 3 and 0.18.1.1 version
1 ubuntu server and 1 windows my pc

@jeffro256
Copy link
Contributor

same on ubuntu
telnet from ubuntu to win is succesful but if i wanna make curl http://281.42.491.761/get_info --user LOGIN:PASSWORD
it says

<title>Unauthorized Access</title>

If you want to use the curl command for password-protected Monero RPC, you need to pass the --digest flag. So your command would look like this: curl http://281.42.491.761/get_info --user LOGIN:PASSWORD --digest

Error: Couldn't connect to daemon: 127.0.0.1:18081

127.0.0.1 is the "loopback" IP address, AKA the IP address that designates "this computer". All computers will reference themselves as 127.0.0.1, but you can't actually use that as an address if you want to connect to a different computer. If your node is on a different computer, you will need an actual address that isn't 127.0.0.1.

@XJIeb
Copy link
Author

XJIeb commented Dec 28, 2024

same on ubuntu
telnet from ubuntu to win is succesful but if i wanna make curl http://281.42.491.761/get_info --user LOGIN:PASSWORD
it says

<title>Unauthorized Access</title>

If you want to use the curl command for password-protected Monero RPC, you need to pass the --digest flag. So your command would look like this: curl http://281.42.491.761/get_info --user LOGIN:PASSWORD --digest

Error: Couldn't connect to daemon: 127.0.0.1:18081

127.0.0.1 is the "loopback" IP address, AKA the IP address that designates "this computer". All computers will reference themselves as 127.0.0.1, but you can't actually use that as an address if you want to connect to a different computer. If your node is on a different computer, you will need an actual address that isn't 127.0.0.1.

curl http://281.42.491.761/get_info --user LOGIN:PASSWORD --digest
reply is empty BUT if

curl http://281.42.491.761:18082/get_info --user LOGIN:PASSWORD --digest
reply Failed to connect to 281.42.491.761 port 18082 after 32 ms: Connection refused

curl http://281.42.491.761:18081/get_info --user LOGIN:PASSWORD --digest
Unauthorized Access</title>

401 Unauthorized

AND FINALLY
curl http://281.42.491.761:18080/get_info --user LOGIN:PASSWORD --digest
curl: (52) Empty reply from server

I`m waiting reply with some json that proof about my rpc connection between ubuntu and win

Now im waiting like 5 or 6 days about log lvl 3 sync
Do u know what flags or params i need to start monerod from GUI
because now my cmd on win run with moneronod --config-file moneronod.conf
and ubuntu same like windows conf are above.
My question is simple. I want to check what is % of my sync to lvl 3 now ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants