# Rest server not response

**URL:** https://forum.cosmos.network/t/rest-server-not-response/3561
**Category:** Miscellaneous
**Created:** [April 20, 2020, 6:16am UTC](https://forum.cosmos.network/t/rest-server-not-response/3561 "2020-04-20T06:16:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![gblue1223](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.cosmos.network/gblue1223/32/120_2.png) [@gblue1223](https://forum.cosmos.network/u/gblue1223)
#### Post date: [April 20, 2020, 6:16am UTC](https://forum.cosmos.network/t/rest-server-not-response/3561/1 "2020-04-20T06:16:52Z")

</div>

I started the rest server with below options.

```auto
(base) greenblue@greenblue-ubuntu:~$ gaiacli rest-server --chain-id=pcoin-chain --laddr=tcp://localhost:1317 --node tcp://localhost:26657 --trust-node=true
I[2020-04-20|14:50:10.430] Starting application REST service (chain-id: "pcoin-chain")... module=rest-server 
I[2020-04-20|14:50:10.430] Starting RPC HTTP server on 127.0.0.1:1317 module=rest-server 

```

But the server does not respond. No error message just waitting forever.

Ports

```auto
(base) greenblue@greenblue-ubuntu:~$ netstat -natp | grep 266
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp 0 0 127.0.0.1:26657 0.0.0.0:* LISTEN -                   
tcp6 0 0 :::26656 :::* LISTEN -                   

(base) greenblue@greenblue-ubuntu:~$ netstat -natp | grep 1317
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp 0 0 127.0.0.1:1317 0.0.0.0:* LISTEN 25279/gaiacli

```

Status

```auto
(base) greenblue@greenblue-ubuntu:~$ gaiacli status
{"node_info":{"protocol_version":{"p2p":"7","block":"10","app":"0"},"id":"93c4a0046903bb18e38d9658d2cdd1747a9cae0d","listen_addr":"tcp://0.0.0.0:26656","network":"pcoin-chain","version":"0.32.9","channels":"4020212223303800","moniker":"pcoin","other":{"tx_index":"on","rpc_address":"tcp://127.0.0.1:26657"}},"sync_info":{"latest_block_hash":"22FDD5600FCBE9AEBA98E3C3B52F30CE9CDB538366165C917D507FF95ABD06B3","latest_app_hash":"840069499AB64B222B7F1BD6032A50F4F0C5801592AC413AD81EAFDABF6B4B65","latest_block_height":"8515","latest_block_time":"2020-04-20T12:52:03.539126551Z","catching_up":false},"validator_info":{"address":"206EC0FE06975FDCAD2F2EE317E2B9C50C7BCC10","pub_key":{"type":"tendermint/PubKeyEd25519","value":"vLYkOoAVIp8PU94VsDCYRVQtqc5difNwXizHk5Aajpo="},"voting_power":"100"}}

```

Version

```auto
(base) greenblue@greenblue-ubuntu:~$ gaiacli version
2.0.7

```

Query

```auto
(base) greenblue@greenblue-ubuntu:~$ curl http://127.0.0.1:1317/stake/validators

```

And I’m running gaiad, gaiacli on Ubuntu.

---

<div class="post-metadata">

### Author: ![09qw123](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.cosmos.network/09qw123/32/465_2.png) [@09qw123](https://forum.cosmos.network/u/09qw123)
#### Post date: [April 20, 2020, 8:47pm UTC](https://forum.cosmos.network/t/rest-server-not-response/3561/2 "2020-04-20T20:47:45Z")

</div>

It’s not a valid endpoint that you are trying to access. Try [http://127.0.0.1:1317/staking/validators](http://127.0.0.1:1317/staking/validators) instead. It should work 😀

---

<div class="post-metadata">

### Author: ![gblue1223](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.cosmos.network/gblue1223/32/120_2.png) [@gblue1223](https://forum.cosmos.network/u/gblue1223)
#### Post date: [April 21, 2020, 12:27am UTC](https://forum.cosmos.network/t/rest-server-not-response/3561/3 "2020-04-21T00:27:20Z")

</div>

Thanks for the reply, I’ve tried the address but same result.  
I added --trace option but nothing showed up.

 ![스크린샷, 2020-04-21 09-30-11](https://canada1.discourse-cdn.com/flex031/uploads/cosmos1/original/2X/5/51b2db586ace73d18a9a19683f821ae9d2717106.png)

---

<div class="post-metadata">

### Author: ![gblue1223](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.cosmos.network/gblue1223/32/120_2.png) [@gblue1223](https://forum.cosmos.network/u/gblue1223)
#### Post date: [April 22, 2020, 3:38am UTC](https://forum.cosmos.network/t/rest-server-not-response/3561/4 "2020-04-22T03:38:00Z")

</div>

I solved the problem. It was my proxy server. I’ve turned off the proxy server and works well.
