Connection timed out

i try this api :/tyk/keys/create, want to get a key, but get this error ;
{“Status”:“Error”,“Message”:“Failed to save new session object to Tyk: Failed to create key: Post http://localhost:8080/tyk/keys/create: dial tcp 127.0.0.1:8080: getsockopt: connection timed out”,“Meta”:null}
Closed connection [connectionId{localValue:24, serverValue:13}] to 18.163.85.111:27017 because it is past its maximum allowed idle time
I upgraded Mongo from 2.6 to 3.4 before;I check the config ,all right;
so I don’t know why I can’t connect the mongo by this api;