# Help connecting to a remote node

**URL:** <https://forum.grin.mw/t/help-connecting-to-a-remote-node/3250>\
**Category:** Tech Support\
**Created:** [January 26, 2019, 4:23am UTC](https://forum.grin.mw/t/help-connecting-to-a-remote-node/3250 "2019-01-26T04:23:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![3b7ameed](https://avatars.discourse-cdn.com/v4/letter/3/e47774/32.png) [@3b7ameed](https://forum.grin.mw/u/3b7ameed)\
**Post date:** [January 26, 2019, 4:23am UTC](https://forum.grin.mw/t/help-connecting-to-a-remote-node/3250/1 "2019-01-26T04:23:16Z")

</div>

my server is up and running and syncing and everything is fine.  
how can i connect to it from another machine ?  
when i try this i get error

abdo@medo-:~/grin$ ./grin wallet -r [http://myserverip:3413](http://myserverip:3413) info  
Password:

\_\_\_\_ Wallet Summary Info - Account ‘default’ as of height 0 \_\_\_\_

Total | 0.000000000  
Awaiting Confirmation (\< 10) | 0.000000000

| Locked by previous transaction | 0.000000000 |
| --- | --- |
| Currently Spendable | 0.000000000 |

WARNING: Wallet failed to verify data against a live chain. The above is from local cache and only valid up to the given height! (is your `grin server` offline or broken?)  
Command ‘info’ completed successfully

---

<div class="post-metadata">

**Author:** ![futurerheza](https://avatars.discourse-cdn.com/v4/letter/f/96bed5/32.png) [@futurerheza](https://forum.grin.mw/u/futurerheza)\
**Post date:** [January 26, 2019, 6:44am UTC](https://forum.grin.mw/t/help-connecting-to-a-remote-node/3250/2 "2019-01-26T06:44:17Z")

</div>

Make sure you change the grin-server.toml on the nose folder from 127.0.0.1:3413 to 0.0.0.0:3413. And start connect.

---

<div class="post-metadata">

**Author:** ![3b7ameed](https://avatars.discourse-cdn.com/v4/letter/3/e47774/32.png) [@3b7ameed](https://forum.grin.mw/u/3b7ameed)\
**Post date:** [January 27, 2019, 12:14am UTC](https://forum.grin.mw/t/help-connecting-to-a-remote-node/3250/3 "2019-01-27T00:14:32Z")

</div>

did that and still can’t connet ! , when i open [http://myserverip:3413](http://myserverip:3413) in the broswer it asks for a user/password in a dialoge box that says " [http://serverip:3413](http://serverip:3413) is requesting your username and password. The site says: “GrinAPI”

abdo@medo:~/grin$ ./grin wallet -r [http://serverip:3413](http://serverip:3413) check  
Password:  
20190127 02:24:57.805 WARN grin\_wallet::command - Starting wallet check…  
20190127 02:24:57.805 WARN grin\_wallet::command - Updating all wallet outputs, please wait …  
20190127 02:24:57.990 WARN grin\_wallet::libwallet::internal::restore - Starting wallet check.  
20190127 02:24:58.163 ERROR grin\_wallet::node\_clients::http - get\_outputs\_by\_pmmr\_index: unable to contact API [http://serverip:3413](http://serverip:3413). Error: Request error: Wrong response code  
20190127 02:24:58.165 ERROR grin\_wallet::command - Wallet check failed: Restore Error  
20190127 02:24:58.166 ERROR grin\_wallet::command - Backtrace:  
Wallet command failed: LibWallet Error: Restore Error

---

<div class="post-metadata">

**Author:** ![ridici](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@ridici](https://forum.grin.mw/u/ridici)\
**Post date:** [January 27, 2019, 1:56am UTC](https://forum.grin.mw/t/help-connecting-to-a-remote-node/3250/4 "2019-01-27T01:56:22Z")

</div>

I think you will need to start your grin node first and then you can proceed with the command

---

<div class="post-metadata">

**Author:** ![dwayne](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/dwayne/32/878_2.png) [@dwayne](https://forum.grin.mw/u/dwayne)\
**Post date:** [January 27, 2019, 4:03am UTC](https://forum.grin.mw/t/help-connecting-to-a-remote-node/3250/5 "2019-01-27T04:03:26Z")

</div>

Make sure that the contents of the file pointed to by api\_secret\_path in grin-server.toml on your server are the same as the contents of the file pointed to by api\_secret\_path in grin-wallet.toml on your client. Default file is ~/.grin/main/.api\_secret

---

<div class="post-metadata">

**Author:** ![3b7ameed](https://avatars.discourse-cdn.com/v4/letter/3/e47774/32.png) [@3b7ameed](https://forum.grin.mw/u/3b7ameed)\
**Post date:** [January 27, 2019, 2:48pm UTC](https://forum.grin.mw/t/help-connecting-to-a-remote-node/3250/6 "2019-01-27T14:48:06Z")

</div>

Working! Thank you very much
