Change permalink structure

You’ve changed the url structure to end with the post id, not the post name so your reference link will go to a 404. That’s correct behaviour. If you look at the URLs of the pages in your right-hand menu you will see they end in a number, not a name:
If you want to redirect the post name url to the post id url you should install a redirect plugin.