<p>It seems the problem was with Flint wallet, Nami does connect to the cardano-submit-api.</p>
<p>The need to do the detailed port scan had thrown me off the track.</p>

CC BY-SA 4.0
2022-03-06T12:54:31.370Z
2022-03-06T12:54:31.370Z
Scalextrix
<p>I have a cardano-node 1.34.0 and the associated cardano-submit-api running on a home server, for some reason I cannot get the cardano-submit-api to listen for incoming API calls.</p>
<blockquote>
<p>cardano-submit-api --socket-path /home/cardano/cnode/sockets/node.socket --port 6099 --config /home/cardano/cnode/config/tx-submit-mainnet-config.yaml --mainnet</p>
</blockquote>
<p>results in the server apparently listening on the loopback 127.0.0.1</p>
<p>So to get it to listen for external connections I try:</p>
<blockquote>
<p>cardano-submit-api --socket-path /home/cardano/cnode/sockets/node.socket --listen-address 0.0.0.0 --port 6099 --config /home/cardano/cnode/config/tx-submit-mainnet-config.yaml --mainnet</p>
</blockquote>
<p>Result:</p>
<blockquote>
<p>Mar 05 17:12:37 CARDANORELAY cardano-submit-api[46974]: [cardano-tx-submit:Info:12] [2022-03-05 17:12:37.65 UTC] Running server on 0.0.0.0:6099</p>
</blockquote>
<p>Port scans from the LAN show no API port services available.  The servers firewall is disabled and no internal firewalls like UFW are operational, portscans show ports SSH, 3001, 8081 (Prometheus) etc as open, but not 6099.</p>
<p>Trying a transaction submit from Flint wallet just gives a server error, Flint custom server set to:</p>
<blockquote>
<p>http://192.168.111.107:6099/api/submit/tx</p>
</blockquote>
<p>Any help appreciated.</p>
<p>EDIT: Deeper port scans show TCP:6099 is open, not sure why that wasnt picking up before, so the server is actually listening.  Included a firewall rule and it seems the error may be on the Flint side, as no connection is being made to the cardano-submit-api server.</p>

<cardano-submit-api>
cardano-submit-api to allow local connections on LAN
# cardano-submit-api to allow local connections on LAN

(Asked by: username_0 on 2022-03-05)

I have a cardano-node 1.34.0 and the associated cardano-submit-api running on a home server, for some reason I cannot get the cardano-submit-api to listen for incoming API calls.

> cardano-submit-api --socket-path /home/cardano/cnode/sockets/node.socket --port 6099 --config /home/cardano/cnode/config/tx-submit-mainnet-config.yaml --mainnet

results in the server apparently listening on the loopback 127.0.0.1

So to get it to listen for external connections I try:

> cardano-submit-api --socket-path /home/cardano/cnode/sockets/node.socket --listen-address 0.0.0.0 --port 6099 --config /home/cardano/cnode/config/tx-submit-mainnet-config.yaml --mainnet

Result:

> Mar 05 17:12:37 CARDANORELAY cardano-submit-api[46974]: [cardano-tx-submit:Info:12] [2022-03-05 17:12:37.65 UTC] Running server on 0.0.0.0:6099

Port scans from the LAN show no API port services available. The servers firewall is disabled and no internal firewalls like UFW are operational, portscans show ports SSH, 3001, 8081 (Prometheus) etc as open, but not 6099.

Trying a transaction submit from Flint wallet just gives a server error, Flint custom server set to:

> http://192.168.111.107:6099/api/submit/tx

Any help appreciated.

EDIT: Deeper port scans show TCP:6099 is open, not sure why that wasnt picking up before, so the server is actually listening. Included a firewall rule and it seems the error may be on the Flint side, as no connection is being made to the cardano-submit-api server.

**Tags:** cardano-submit-api

---

## 1 answers

### Answer by username_0 on 2022-03-06. Score: 1

It seems the problem was with Flint wallet, Nami does connect to the cardano-submit-api.

The need to do the detailed port scan had thrown me off the track.


---

