Can not access webui through ssh

I have ipfs installed on my remote,dedicated server. I can not access the ui at http://127.0.0.1:5001/webui
I believe the problem is related to me using and working on the ipfs install that is on a remote server instead of my local machine.Does anyone know how to fi this, is it done with proxy settings in the browser?

1 Like

You can do ssh exampleUser@example.com -L 5001:localhost:5001
replace exampleUser with your user on the server and example.com with the server’s address.
Then http://127.0.0.1:5001/webui will work (you will need to keep the ssh connection open for it to relay the API).

ssh -p option (which creates a SOCKS proxy you can configure in your browser) also work but it would relay all of your browser traffic not just the api through the ssh connection.