diff --git a/node/node.go b/node/node.go index 06923b0872..7d8f9b07b9 100644 --- a/node/node.go +++ b/node/node.go @@ -382,7 +382,7 @@ func (n *Node) startHTTP(endpoint string, apis []rpc.API, modules []string, cors // stopHTTP terminates the HTTP RPC endpoint. func (n *Node) stopHTTP() { if n.httpListener != nil { - url := fmt.Sprintf("http://%v", n.httpListener.Addr()) + url := fmt.Sprintf("http://%v/", n.httpListener.Addr()) n.httpListener.Close() n.httpListener = nil n.log.Info("HTTP endpoint closed", "url", url)