No connection could be made because the target machine actively refused it

No connection could be made because the target machine actively refused it 127.0.0.1:9002   Scenario: You are having website panel installed and upon trying to resolve http://127.0.0.1:9001 locally inside the server or when you try resolving http://<publicip>:9001...