danikf / tik4net

Manage mikrotik routers with .NET C# code via ADO.NET like API or enjoy O/R mapper like highlevel api.
Apache License 2.0
174 stars 93 forks source link

No connection could be made because the target machine actively refused it on 8728 #44

Closed syedfahimabrar closed 6 years ago

syedfahimabrar commented 6 years ago

I have hosted mikrotik 5.20 on virtual box on a laptop. And when i want to access via code from my desktop i says exception ( No connection could be made because the target machine actively refused it 192.168.1.139:8728 ). But web fig on same desktop does work with 192.168.1.139:80

danikf commented 6 years ago

You must enable API (on specific port) via /ip/service

D