In edge micro gateway After the token generation if I am trying to call the API it shows failed to connect localhost port 8000 :connection refused.

Not applicable
 
0 3 164
3 REPLIES 3

Former Community Member
Not applicable

Did you start Edge Micro gateway with: .

/edgemicro start -k <key> -s <secret> -o <org> -e <env>

If yes, what was the response from running the command?

Not applicable

Hi @Srinadan Sridhar

Yes my edgemicro started successfully.And I got the response as the following

miracle@manasa MINGW64 ~/desktop/apigeeedgemicro/apigee-edge-micro-2.0.0/cli $ ./edgemicro start -o anumanasa -e test -k ad0e7684d4f57695f051dfb69f35f49a88c 1ccfe2323bd90778a578f67497de6 -s 8906d6a491f35a763897d760a8039728484a3b6f80cdff 563a05b33b2c0811b2 info: products download from https://anumanasa-test.apigee.net/edgemicro-auth/pr oducts returned 200 OK info: jwt_public_key download from https://anumanasa-test.apigee.net/edgemicro-a uth/publicKey returned 200 OK info: config download from https://edgemicroservices-us-east-1.apigee.net/edgemi cro/bootstrap/organization/anumanasa/environment/test returned 200 OK warning: no edge micro proxies found in org downloaded products [ { apiResources: [ '/**' ], approvalType: 'auto', attributes: [ [Object] ], createdAt: 1462300726887, createdBy: 'anucse2k11@gmail.com', description: '', displayName: 'edgemicro-product', environments: [ 'prod', 'test' ], lastModifiedAt: 1462300726887, lastModifiedBy: 'anucse2k11@gmail.com', name: 'edgemicro-product', proxies: [ 'edgemicro' ], quota: '1000', quotaInterval: '1', quotaTimeUnit: 'minute', scopes: [ '' ] }, { apiResources: [ '/**' ], approvalType: 'auto', attributes: [ [Object] ], createdAt: 1461867614968, createdBy: 'anucse2k11@gmail.com', description: '', displayName: 'product2', environments: [ 'test' ], lastModifiedAt: 1461867614968, lastModifiedBy: 'anucse2k11@gmail.com', name: 'product2', proxies: [ 'product2s' ], quota: '1000', quotaInterval: '1', quotaTimeUnit: 'minute', scopes: [ '' ] }

downloaded jwt_public_key '-----BEGIN CERTIFICATE-----\nMIICpDCCAYwCCQCMolEGkZlD njANBgkqhkiG9w0BAQsFADAUMRIwEAYDVQQDDAls\nb2NhbGhvc3QwHhcNMTYwNDIwMDY0NDAxWhcNMT YwNDIxMDY0NDAxWjAUMRIwEAYD\nVQQDDAlsb2NhbGhvc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw ggEKAoIBAQCg\nY1wlZjZ9A8PPbE5+uzUTkEz1z5PD4VYLyFpm9vFfHqu0JffcgW5O0q6Yxzy9ILLK\n HUrUkkBa+E3QySwlRw3tMtm1Mijivzzk4XourdKha5AfHTs96/uPaVkQXGReTlau\nw8DfcOeAwS9cX/ WUc5M510t8hPCV/14RuaKqksVF8oVoPThiBITUwhbdyNOfg5Ew\nhGUIrHJjN12ZRxf8fwxGqxYn93fE HIQIN64YlBNBVPq2w5yP/t/+ZtybsgpWGjV8\nqL8XYdYgVkxRiGK3PfnRZQJVuR84QkubnsStbMnuui Qy9K7bPqsu7f4cg+s1UOC1\n9jiog18qVkJA7+yOmEi9AgMBAAEwDQYJKoZIhvcNAQELBQADggEBAHS3 YzCWnAyx\n+ANcpZqqp8I+NVs56uHYq1hPjqSVIzj+OJnnC2bHdB4ZNxR+rCm82QcyDZpdsFyS\noCoi noryFkFwm917n95dlXdgIHh1ZHmosuWI05Tz0oRDb8aTS47lF5Mikn3NfPPW\nQJxP42Ddr0I8EAtn8y lqNO3vMrzeymHTTNBiVUWKFS3PPR2cYNlr5U//JN9MTdY0\n9EsaJ4QAB7ZILMjGMV9h7OKDLy8vy3Sx iauqjhClwsPVWPQnHWsWxuzkGzkfnQR8\nXTIuiZHvVwZLiO8yaQFImnU4iUhDr/hNkL9cM+A8aeGNBA OhYkaf/3SxUlTC0IUG\neJs+kuXONcM=\n-----END CERTIFICATE-----' starting in non-cluster mode logging to \var\tmp\edgemicro-manasa-328654c0-1265-11e6-b302-23ca8046e00c installed plugin from analytics installed plugin from oauth 328654c0-1265-11e6-b302-23ca8046e00c edge micro listening on port 8000 edge micro started edgemicro started successfully.

Former Community Member
Not applicable

iIs it listening to all interegfaces? Can you please show the output of "netstat -an | grep 8000"