admin console shows content intended for production
I have encountered multiple times an issue that admin console stops working (usually after reporting some exception) and after that admin console does not work at all. Restart or undeploying applications does not help.
Instead of showing admin application, it shows at port 4848 content that it is supposed to serve at 8080. Another variation of this problem is that deployed application is running fine at 8080, but at port 4848 I get the default GF page docroot/index.html
Previously I would give up searching for answers and would reinstall GF and setup everything from start. But this is not acceptable way to deal with it...
Does anyone have similar experience and perhaps a solution for this?