astounding / mtik

An interface to the MikroTik RouterOS API (via TCP) in Ruby
http://www.aarongifford.com/computers/mtik/
Other
38 stars 23 forks source link

Feature Request : Customize the port you are connecting to #5

Closed ghost closed 6 years ago

ghost commented 6 years ago

ISP is blocking TCP ports for only Mikrotik API and API SSL. Could you possibly implement the ability to customize the port you can connect to on the host?

Tried the traditional syntax "hostnameexample:1112" Receiving error getaddrinfo: Name or service not known (SocketError)

ghost commented 6 years ago

Ok it is not built into the TIKCLI etc as arguments, has to be specified inside here. /gems/mtik-4.0.3/lib/mtik.rb Under the "## Default MikroTik RouterOS API TCP port:" section.

Working fine for me now. Closing this off.