Closed trump-7575 closed 1 year ago
The rest API is only available through the proxy at HTTPS://dashboard.your.domain
I tried to play with netmaker 0.17.1 and still have the problem. Any ideas ?
~ # curl -v -H "Authorization: Bearer the_master_key" -H "Accept: application/json" api.nm.111-222-6-111.nip.io:443/api/networks | jq % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 111-222-6-111:443...
GET /api/networks HTTP/1.1 Host: api.nm.111-222-6-111.nip.io:443 User-Agent: curl/7.81.0 Authorization: Bearer the_master_key Accept: application/json
change your url to https://api.nm.111-222-6-111.nip.io/api/networks
Thankyou very much ~
Contact Details
No response
What happened?
I tried to access the netmaker API ( REST ) port to config the networks . Unfortunatly , the port ( 8081 ? ) is not open at all . Another words , I used netstat to check the ports and did not see a port named 8081 . Is this interface not avail. at netmaker version 0.16.3 ?
Even though the log of netmaker seems O.K. and I did log into netmaker's ui ( https://dashboard.netmaker.mydomain.com / ) . What's wrong with it ?
Version
v0.16.3
What OS are you using?
Linux
Relevant log output
Contributing guidelines