So I ran into this issue and was trying to figure it out then the light bulb went off on why it would be happening… so I thought I would post it here for anyone who might run into this or just for myself later on
Anyhow when using httpd most of the time the normal random port option will work but if you have persistent elements like local storage or indexed DB you need to set a port number, this has been explained a few times in various post, now the odd part comes into play when you have multiple apps.
When using the HTTPD option ( correct me if I’m wrong here ) it will reserve the port, so if you use the same httpd port for multiple apps you will run into issues with it not being able to find the right indexed DB or localstorage items.
Once I change the port to be unique to each app I was building the issue was resolved.
While this may be somewhat of an edge case I thought it was worth mentioning