Back to Blog|GST Compliance

How to Fix emSigner Error on the GST Portal (Connection Failed)

June 25, 20265 min readFaheem Ferdous

One of the most persistent technical headaches for Indian tax professionals and business owners filing returns is the GST portal's **emSigner error**.

During Digital Signature Certificate (DSC) registration or return submission, a pop-up appears stating: "Failed to establish connection to the server. Kindly restart the emSigner." Even after restarting the application, the error frequently remains. This guide outlines the exact solutions to resolve this port and Java conflict.

Why Does the GST emSigner Error Happen?

The error is primarily caused by **port address conflicts**. In older versions, emSigner ran on port 1645 (with localhost address https://127.0.0.1:1645).

However, the government upgraded the utility to run on port 1585 (address https://127.0.0.1:1585). If your browser is searching for the DSC on the old port, or if local security software blocks the port, the connection fails.

Solution 1: Add Exception to Java Security & Browser

Chrome and other modern browsers block localhost requests on raw HTTP/HTTPS protocols unless specifically whitelisted:

  1. Ensure you have the latest version of Java (JRE) and emSigner installed on your PC.
  2. Open your Chrome browser and navigate to the address: https://127.0.0.1:1585.
  3. Your browser will display a warning: "Your connection is not private." Click on Advanced > Proceed to 127.0.0.1 (unsafe). This forces the browser to trust the local emSigner certificate.
  4. Go to Chrome Settings > Privacy and Security > Site Settings > JavaScript > Whitelist/Exceptions. Add https://127.0.0.1:1585 and set it to Allow.

Solution 2: Command Prompt Port Forwarding (Proxy)

If the GST portal script is still searching for the old port 1645, you can create a port proxy. This forwards all traffic arriving at port 1645 directly to the active port 1585:

  1. Click the Windows Start Menu, type cmd, right-click Command Prompt, and select Run as Administrator.
  2. Copy the proxy forwarding command below and paste it into the command prompt:
netsh interface portproxy add v4tov4 listenport=1645 listenaddress=127.0.0.1 connectport=1585 connectaddress=127.0.0.1

Press Enter. This binds a local proxy so any calls to the old port are dynamically resolved. Restart your computer and test DSC registration.

Summary Checklist

  • Update JRE: Always run JRE version 8 or higher.
  • Clean Token Install: Clean install USB token drivers (ePass2003, WD ProxKey, etc.).
  • Run as Admin: Always right-click emSigner and choose "Run as Administrator".
💡 TrulyInvoice Tip: Automate your ledger reconciliations beforehand. Reconciling your purchase entries before filing returns helps prevent late filing fee interest.
F
Faheem FerdousExpert Reviewer

Tax Lawyer & GST Compliance Expert

Last Verified: June 25, 2026
TallyPrime FY 2026-27 (v4.0+)
Ready to save time?

Stop Manual Voucher Entry.

TrulyInvoice automates your complete invoice workflow and syncs directly to Tally Prime.

No credit card · 14-day free trial

01

Upload Invoice

Drag & drop PDFs, scans, or photos.

02

AI Extraction

Line items, tax, and ledgers mapped.

03

1-Click Review

Verify extracted details on dashboard.

04

Direct Sync

Vouchers created instantly in Tally Prime.

Chat with us