Port forward problem

Today I’ve connected new router (Asus RT-AC51U). After port forward peercoin deamon don’t want to get more than 8 connections, all of those 8 connections are initiated by my node so ppcoind acts like port is closed. All other services (like http, ftp etc) works perfectly.

http://www.yougetsignal.com/tools/open-ports/ shows 9901 is open.

I have no more ideas.

Any help?

Setting DMZ also isn’t solution here. Still 8 (initiated by my node) connections and nothing more.

can you grep the debug.log with “grep -i upnp” and post in pastebin or something please?

root@srv:/home/marcin/.ppcoin# cat ./debug.log | grep -i upnp UPnP: ExternalIPAddress = 31.178.227.21 UPnP Port Mapping successful. UPNP_DeletePortMapping() returned : -3 UPnP Port Mapping successful. UPnP Port Mapping successful. UPnP Port Mapping successful. UPnP Port Mapping successful. UPNP_DeletePortMapping() returned : 0 UPnP: ExternalIPAddress = 31.178.227.21 UPnP Port Mapping successful. UPNP_DeletePortMapping() returned : -3 No valid UPnP IGDs found No valid UPnP IGDs found No valid UPnP IGDs found No valid UPnP IGDs found No valid UPnP IGDs found

I turned off UPnP (on router settings) when I had no luck with connection. But still with UPnP enabled my node stuck at 8 connections.

upnp=0

Also doesn’t work.

My config:

maxconnections=100 server=1 rpcuser=marcin rpcpassword=xxx upnp=0 addnode=76.74.177.224 addnode=107.170.209.76 addnode=113.17.90.227 addnode=75.128.211.140 addnode=78.8.188.249 addnode=178.248.97.26 addnode=176.31.122.170 addnode=95.176.184.9 addnode=79.92.237.75

Open Port Check Tool - Test Port Forwarding on Your Router still show 9901 as open.

bind=31.178.227.21

Also no effect.

Which Peercoin client do you use? Did you compile by yourself or?

Core. Downloaded directly from Peercoin — The Pioneer of Proof-of-Stake

I left it for night and 12h later 9 connections with 1 connection initiated by remote node. When I connected this router my ISP changed my IP address (ISP changing it with every MAC address change) so I guess I’m just “new” for the network.

Config right now:

maxconnections=100 server=1 rpcuser=marcin rpcpassword=xxx upnp=0 bind=31.178.227.21 addnode=76.74.177.224 addnode=107.170.209.76 addnode=113.17.90.227 addnode=75.128.211.140 addnode=78.8.188.249 addnode=178.248.97.26 addnode=176.31.122.170 addnode=95.176.184.9 addnode=79.92.237.75 listen=31.178.227.21

Anyway, seems that everything is ok. Sorry for drama.

marcin@srv:~/.ppcoin$ ppcoind getinfo { "version" : "v0.5.4ppc-beta", "protocolversion" : 60006, "walletversion" : 60000, "balance" : 0.00000000, "newmint" : 0.00000000, "stake" : 0.00000000, "blocks" : 251490, "moneysupply" : 23392606.92978300, "connections" : 9, "proxy" : "", "ip" : "31.178.227.21", "difficulty" : 641848995.26683402, "testnet" : false, "keypoololdest" : 1467394571, "keypoolsize" : 101, "paytxfee" : 0.01000000, "unlocked_until" : 1785879151, "errors" : "" } marcin@srv:~/.ppcoin$ ppcoind getpeerinfo [ { "addr" : "76.74.177.224:9901", "services" : "00000001", "lastsend" : 1470565106, "lastrecv" : 1470565107, "conntime" : 1470519134, "version" : 60006, "subver" : "/Satoshi:0.6.3/Peercoin:0.5.3(v0.5.3ppc-beta)/", "inbound" : false, "releasetime" : 0, "height" : 251323, "banscore" : 0 }, { "addr" : "78.8.188.249:9901", "services" : "00000001", "lastsend" : 1470565106, "lastrecv" : 1470564686, "conntime" : 1470519147, "version" : 60006, "subver" : "/Satoshi:0.6.3/Peercoin:0.5.3(v0.5.3ppc-beta)/", "inbound" : false, "releasetime" : 0, "height" : 251323, "banscore" : 0 }, { "addr" : "176.31.122.170:9901", "services" : "00000001", "lastsend" : 1470565105, "lastrecv" : 1470565106, "conntime" : 1470519148, "version" : 60006, "subver" : "/Satoshi:0.6.3/Peercoin:0.5.3(v0.5.3ppc-beta)/", "inbound" : false, "releasetime" : 0, "height" : 251323, "banscore" : 0 }, { "addr" : "5.189.145.112:9901", "services" : "00000001", "lastsend" : 1470565106, "lastrecv" : 1470565106, "conntime" : 1470519164, "version" : 60004, "subver" : "/Satoshi:0.6.3/Peercoin:0.4.0(v0.4.0ppc-23-g57b8c8d-beta)/", "inbound" : false, "releasetime" : 0, "height" : 206432, "banscore" : 0 }, { "addr" : "82.192.64.136:9901", "services" : "00000001", "lastsend" : 1470565106, "lastrecv" : 1470565107, "conntime" : 1470523963, "version" : 60006, "subver" : "/Satoshi:0.6.3/Peercoin:0.5.3(v0.5.3ppc-beta)/", "inbound" : false, "releasetime" : 0, "height" : 251338, "banscore" : 0 }, { "addr" : "95.116.188.42:59462", "services" : "00000001", "lastsend" : 1470565106, "lastrecv" : 1470565111, "conntime" : 1470545943, "version" : 60006, "subver" : "/Satoshi:0.6.3/Peercoin:0.5.4(v0.5.4ppc-beta)/", "inbound" : [b]true[/b], "releasetime" : 0, "height" : 251420, "banscore" : 0 }, { "addr" : "5.135.125.177:9901", "services" : "00000001", "lastsend" : 1470565106, "lastrecv" : 1470565106, "conntime" : 1470547340, "version" : 60006, "subver" : "/Satoshi:0.6.3/Peercoin:0.5.4(v0.5.4ppc-beta)/", "inbound" : false, "releasetime" : 0, "height" : 251429, "banscore" : 0 }, { "addr" : "216.189.61.100:9901", "services" : "00000001", "lastsend" : 1470565106, "lastrecv" : 1470565106, "conntime" : 1470548571, "version" : 60006, "subver" : "/Satoshi:0.6.3/Peercoin:0.5.0/Peerunity:0.2.2(v0.2.2)/", "inbound" : false, "releasetime" : 0, "height" : 251435, "banscore" : 0 }, { "addr" : "68.132.231.173:9901", "services" : "00000001", "lastsend" : 1470565106, "lastrecv" : 1470565106, "conntime" : 1470553014, "version" : 60006, "subver" : "/Satoshi:0.6.3/Peercoin:0.5.0/Peerunity:0.2.2(v0.2.2)/", "inbound" : false, "releasetime" : 0, "height" : 251451, "banscore" : 0 } ]

from getinfo output I see you are getting more than 8 connections.