RPC call over http not working

If you are asking a question, please follow this template:

  1. My goal is: to call RPC over http
  2. My actions are: using the following command

mos --port http://192.168.0.104/rpc call Sys.GetInfo

However, I am getting the error ‘Unknown command’.

I am using the following mos version

Version: 2.19.1
Build ID: 20210208-143354/2.19.1-g9bf406d

The problem is with the ‘–port http://192.168.0.104/rpc’ part.

mos call Sys.GetInfo works fine.

  1. My expectation & question is: to someone point out what am I doing wrong and what can be done about it. Please keep in mind I have been using this command for years now. I have set up mos on a new machine and suddenly this command doesn’t work. Maybe it has something to do with the latest version of mos.

Pretty sure its –port ws://192.168.0.104/rpc

How do you invoke the command?
From mos UI or from a terminal window?