Jump to content
  • 0

Trying to access api on GCloud Instance


seethingword

Question

Hi for some reason when i try to connect to the api of the server running on a gcloud VM, it wont let me do anything. It keeps coming back with the same message like i cant even see the server at all. (Look at pictures)

 

ec3fe14f953a38bbfdd9dde52309e279.png905507760e800c8845c2e885dcffe2b3.png

 

If someone could help me at all that would be great. Btw im trying to access the api from a different machine than the one hosting it.

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0
12 minutes ago, seethingword said:

I literally just got that message what does it mean?

It means your api is accessable. (my picture)

 

The error message means there was no grant type in my body, because i did not send one

Link to comment
Share on other sites

  • 0
{
  "RouteAuthorization": {},
  "Hosts": [
    "http://localhost:5401"
  ],
  "Cors": [],
  "DataProtectionKey": "~~~~~~~~~~",
  "Enabled": true,
  "DebugMode": false,
  "SeedMode": false,
  "RefreshTokenLifetime": 15,
  "ThrottlePolicy": {
    "IpThrottling": true,
    "IpWhitelist": [],
    "IpRules": {},
    "ClientThrottling": true,
    "ClientWhitelist": [],
    "ClientRules": {
      "test": {
        "PerSecond": 1,
        "PerMinute": 10,
        "PerHour": 0,
        "PerDay": 0,
        "PerWeek": 0
      }
    },
    "EndpointThrottling": true,
    "EndpointWhitelist": [],
    "EndpointRules": {
      "/api/oauth/token": {
        "PerSecond": 1,
        "PerMinute": 5,
        "PerHour": 0,
        "PerDay": 0,
        "PerWeek": 0
      }
    },
    "StackBlockedRequests": true,
    "Rates": {
      "Second": 1,
      "Minute": 60
    }
  },
  "FallbackClientKey": "test",
  "RequestLogLevel": 128
}

I also set the api port to 5401 so it would lauch. got a port conflict with 5400

Link to comment
Share on other sites

×
×
  • Create New...