FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
502 views 0 comments
by anonymous
hi, i am trying to run CURL command on cli remotely via RMS which gives me "unauthorized root" via http n does nothing. if i command via https it give me " port 443 refused "error  . any idea how to fix it please?

1 Answer

0 votes
by anonymous

Hello,

In this particular situation "unauthorized root" indicates that your 192.168.1.201 device refuses the authentication, while "port 443 refused" indicates that your 192.168.1.201 device is probably not listening on 443 port and is only accepting connection via port 80.

Your encountered issue seems to be related purely with your 192.168.1.201 device or with command which you are trying to use, and should not be caused by your RUT240.

Regarding the command itself, do not put your token between "< >" symbols, or convert it from Base64 to plain text and use "curl --anyauth --user daniel:secret http://example.com/" instead.