Port 8545
Port 8545 Ethereum JSON RPC
Ethereum nodes serve their JSON RPC interface on port 8545. Attackers scan for it hoping to find wallets they can empty.
What is port 8545 used for?
Port 8545 is the default HTTP port of the JSON RPC interface of Ethereum clients such as Geth, and of many nodes on compatible chains. Wallets and applications use it to read the chain and send transactions.
Port 8546 usually carries the same interface over WebSocket.
Why attackers want it
A node that exposes RPC with an unlocked account lets anyone send that account's funds away, and thieves have done exactly that for years. Even without funds, an open node can be abused for free queries and reveals what it runs.
Who scans port 8545
Every address that scanned port 8545 from 28 October to 27 November 2026, with known scanners left out.
- AS2003733xK Tech GmbH 16.729
- AS59651Alex Largman 1.172
- AS8708DIGI ROMANIA S.A. 849
- AS5089Virgin Media Limited 745
- AS2856British Telecommunications PLC 693
- AS7922Comcast Cable Communications, LLC 688
- AS3215Orange S.A. 648
- AS45102Alibaba (US) Technology Co., Ltd. 587
- AS577Bell Canada 581
- AS5607Sky UK Limited 548
- Germany 12.411
- United States of America 12.162
- France 4.675
- United Kingdom 4.579
- Canada 3.149
- Brazil 2.278
- India 1.382
- Romania 1.241
- Netherlands 972
- People's Republic of China 821
Should port 8545 be open?
Port 8545 should never be reachable from the internet. Bind RPC to localhost, put an authenticated gateway in front of it when others need access, and never unlock accounts on a node with RPC enabled.
Bind RPC to localhost
Listen on 127.0.0.1 only, and drop inbound TCP 8545 and 8546 at the edge.
Keep keys off the node
Never unlock accounts on an RPC node. Sign transactions in a separate wallet or signer.
Gate shared access
If applications elsewhere need the node, put an authenticated proxy in front of it and expose only the methods they use.
Port 8545 questions
What is port 8545 used for?
Port 8545 is the default port of the Ethereum JSON RPC interface on clients such as Geth. Port 8546 usually serves the same interface over WebSocket.
Is it safe to expose port 8545?
No. An exposed node can be queried and abused by anyone, and if an account is unlocked, its funds can be sent away.
Why do attackers scan for Ethereum RPC?
They look for nodes with unlocked accounts to steal from, and for open nodes they can use for free.
How do I block port 8545?
Bind RPC to localhost and drop inbound TCP 8545 and 8546 on your firewall. An IP blocklist of active scanners stops the sources that look for nodes.
Block the sources that scan port 8545.
An hourly IP feed of active scanners keeps them away from this port and everything else you run.