Quepinch

GST emsigner: https://127.0.0.1:1585 failed to establish connection to server

Mar 18, 2022

For Windows OS

This is commonly known issue when people are trying to file GST using DSC. If the emsigner was working properly before and now it's not working then you may see the following error:

Error: Failed to establish connection to the server . Kindly restart the Emsigner

Reason

There is a new version of emsigner available. In the newer version they have changed the emsigner.

Earlier version of the emsigner used to connect on port 1645

https://127.0 0.1:1645

Now the newer version of the emsigner connects on port 1585

https://127.0.0.1:1585



How to fix?

Use the newer version of emsigner. Follow the steps (This solution will work on both Microsoft Edge and Chrome. )

  1. Update your browser if it's not already.
  2. Uninstall the older version of emsigner.
  3. Install the latest version of emsigner.

Step 1: If everything was working before then above steps will be enough.

Step 2: If it still doesn't work or you are doing using DSC for first time then you will have to follow next few steps as well

Step 3: Go to browser (Chrome/Microsoft Edge) settings.

Step 4: Under Privacy and Security, go to Site Settings. Use search bar to find it.

Step 5: Search for Javascript in search bar. Or go to the Content tab and click Javascript. Then add the following URL under 'Allow' section:

  1. https://120.0.0.1:1585
  2. http://120.0.0.1:1585
  3. https://120.0.0.1:1565
  4. https://127.0.0.1:1585
  5. https://127.0.0.1:1565
  6. http://127.0.0.1:1585
  7. https://127.0.0.1

To reflect the changes, just close and reopen your browser for safe side.

Step 6: Go to the Start menu. Open Command Prompt. Right-click and select Run as Administrator.

Step 7: A black screen will appear. Copy paste the following command

netsh interface portproxy add v4tov4 listenport=1645 listenaddress=127.0.0.1 connectport=1585 connectaddress=127.0.0.1

Step 8: Press Enter on your keyboard

Step 9: Open a new window in Google Chrome and enter the link

https://127.0.0.1:1585

Step 10: Click on the Hide Advanced and Proceed to 127.0.0.1(unsafe). You may get an error.

Step 11: Unplug the DSC token (DSC pen drive) and plug it in again.

Step 12: Go to GST portal and file GST with DSC. Everything must be working fine.

Write in the comment if this doesn't solve the issue or if you want add something to this blog.



Author
Vedant Bhushan