Internal links in preview

How can I get internal links to work in preview? Clicking a link (or even pasting a link into the browser address bar manually) immediately redirects to the page I initially opened in the preview, making it impossible to browse between pages. This used to work fine, but now it suddenly dont work at all.

Can you share some HTML of one of the links that are not working for you?

Could you also try saving your project, and restarting the software?

It’s not the links (for example http://127.0.0.1:8000/index.html), they work perfectly well when browsing the site using an actual webserver. But in preview even pasting them into the browser address bar dont work. So its some kind of server related issue.

Saving and restarting does not work. Also, the issue repeats across all projects.