Preview link broken if using non default port
See original GitHub issue- OS: macOS 10.15.6
- Version of IPFS Desktop: 0.13.2
Describe the bug
If IPFS Desktop is not using the default port (8080) the link to preview it still uses 8080, which is incorrect. I’m running another service that’s holding port 8080 (nginx) so IPFS will use 8081 instead. I see "Gateway": "/ip4/127.0.0.1/tcp/8081",
in my config file. When i click the link below it opens http://localhost:8080/ipfs/<cid>
which is actually routed to nginx and I get a 404. If I manually change the port in the url to 8081 things work correctly.
To Reproduce Steps to reproduce the behavior:
- Change the Gateway port in
~/.ipfs/config
to 8081 ("Gateway": "/ip4/127.0.0.1/tcp/8081",
) - Restart IPFS Desktop
- Try to open a pinned file, or any file via the localhost gateway api
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
combined.log (error log empty)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Unable to preview/link to existing post - WordPress.org
The problem is that attempting to preview the post from the editor, or attempting to access it from the “Recent posts” link on...
Read more >How to Fix the 'Preview Could Not Be Loaded' Error - Elementor
Go to your WP Admin > Settings > Permalinks section, select the Plain option, click Save Changes, and see if this helped. When...
Read more >How to set a static port for Brackets live preview?
My application is using localstorage and in order to test and make sure everything is working properly, I wanted to set a specific...
Read more >running ASP.net application on a different port - Microsoft Q&A
One thing you need to know is that https use 443 as default port. So only 443xxx ports can be used by https....
Read more >Unfurling links in messages - Slack API
Classic link unfurling is the default treatment for links posted into Slack. When a link is spotted, Slack crawls it and provides a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No it still persists. The steps i just took were
PORT=8080 yarn start
in a create-react-app appOn Mon, Jan 4, 2021 at 8:50 AM Marcin Rataj notifications@github.com wrote:
This issue was closed because it is missing author input.