cpuminer icon indicating copy to clipboard operation
cpuminer copied to clipboard

Api not working

Open btclinux opened this issue 3 years ago • 5 comments

If set '--api-bind 127.0.0.1:8888' for example and then 'telnet localhost 8888' you get 'connection refused'

btclinux avatar Apr 14 '21 17:04 btclinux

try --api-bind 0.0.0.0:8888 and http at localhost

djm34 avatar Apr 14 '21 18:04 djm34

with 0.0.0.0 the same problem, trying connect to localhost and 192.168.

btclinux avatar Apr 15 '21 06:04 btclinux

try to find out with netstat (or lsof) on which port the application is listening (if any)

sudo lsof -i -P -n | grep LISTEN sudo netstat -tulpn | grep LISTEN

djm34 avatar Apr 15 '21 10:04 djm34

$ sudo netstat -tulpn | grep LISTEN tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 1108/systemd-resolv tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1332/cupsd
tcp 0 0 127.0.0.1:9050 0.0.0.0:* LISTEN 1326/tor
tcp6 0 0 :::1716 :::* LISTEN 3553/kdeconnectd
tcp6 0 0 ::1:631 :::* LISTEN 1332/cupsd

btclinux avatar Apr 16 '21 12:04 btclinux

indeed it isn't there

djm34 avatar Apr 17 '21 00:04 djm34