Community discussions

 
hiad
just joined
Topic Author
Posts: 9
Joined: Tue Jul 10, 2018 6:38 am

Unknown host

Wed Oct 31, 2018 10:04 am

Hello Everybody,
Im trying to login a user created with my mikrotik api. Using the command above, im getting an error unknown host. Im working locally, is that error related with it?


Code: Select all

channel1.write("/ip/hotspot/active/login", {
ip: "127.0.0.1",
user: "x",
password: "x",
})

Code: Select all

Error result { type: 'trap',
[0] tag: '1540972853534',
[0] data:
[0] [ { field: 'category', value: '4' },
[0] { field: 'message', value: 'unknown host IP 127.0.0.1' } ],
[0] cmd:
[0] { id: 1,
[0] command: '/ip/hotspot/active/login',
[0] args: { ip: '127.0.0.1', user: 'x', password: 'x' } } }
Thanks you your help.

Who is online

Users browsing this forum: No registered users and 17 guests