I'm using geth from Ethereum Wallet (as you can tell from the command path).
$ '/home/myalias/.config/Ethereum Wallet/binaries/Geth/unpacked/geth' console --testnet --datadir=/home/rshi/.ropsten --port 30304 --syncmode fast --cache 1024 --rpc --rpcaddr "localhost" --rpcport 8545 --rpccorsdomain "*"
WARN [01-17|12:01:54] No etherbase set and no accounts found as default
INFO [01-17|12:01:54] Starting peer-to-peer node instance=Geth/v1.7.2-stable-1db4ecdc/linux-amd64/go1.9
INFO [01-17|12:01:54] Allocated cache and file handles database=/home/rshi/.ropsten/geth/chaindata cache=1024 handles=1024
INFO [01-17|12:01:54] Initialised chain configuration config="{ChainID: 3 Homestead: 0 DAO: <nil> DAOSupport: true EIP150: 0 EIP155: 10 EIP158: 10 Byzantium: 1700000 Engine: ethash}"
INFO [01-17|12:01:54] Disk storage enabled for ethash caches dir=/home/rshi/.ropsten/geth/ethash count=3
INFO [01-17|12:01:54] Disk storage enabled for ethash DAGs dir=/home/rshi/.ethash count=2
INFO [01-17|12:01:54] Initialising Ethereum protocol versions="[63 62]" network=3
INFO [01-17|12:01:54] Loaded most recent local header number=0 hash=419410…ca4a2d td=1048576
INFO [01-17|12:01:54] Loaded most recent local full block number=0 hash=419410…ca4a2d td=1048576
INFO [01-17|12:01:54] Loaded most recent local fast block number=0 hash=419410…ca4a2d td=1048576
INFO [01-17|12:01:54] Loaded local transaction journal transactions=0 dropped=0
INFO [01-17|12:01:54] Regenerated local transaction journal transactions=0 accounts=0
INFO [01-17|12:01:54] Starting P2P networking
INFO [01-17|12:01:56] UDP listener up self=enode://9bceb78553d8f88bc2880754488c316c95b36246db0fc1bee64133362b045b816a5158740471d167404a84495a74cb2bf7b18944cefb2281af6b29db11fcadbf@[::]:30304
INFO [01-17|12:01:56] RLPx listener up self=enode://9bceb78553d8f88bc2880754488c316c95b36246db0fc1bee64133362b045b816a5158740471d167404a84495a74cb2bf7b18944cefb2281af6b29db11fcadbf@[::]:30304
INFO [01-17|12:01:56] IPC endpoint opened: /home/rshi/.ropsten/geth.ipc
INFO [01-17|12:01:56] HTTP endpoint opened: http://localhost:8545
Welcome to the Geth JavaScript console!
instance: Geth/v1.7.2-stable-1db4ecdc/linux-amd64/go1.9
modules: admin:1.0 debug:1.0 eth:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 txpool:1.0 web3:1.0
> (waited for a long time)
>
> admin.peers
[]
> eth.syncing
false
>
Used --verbosity 5 and confirm that there is no peer connected. Here is a piece of the log:
DEBUG[01-17|12:11:39] No discv4 seed nodes found
TRACE[01-17|12:11:39] Dial task done task="discovery lookup"
TRACE[01-17|12:11:39] New dial task task="dyndial 20c9ad97c081d633 52.169.14.227:30303"
TRACE[01-17|12:11:39] New dial task task="discovery lookup"
TRACE[01-17|12:11:39] Dial error task="dyndial 20c9ad97c081d633 52.169.14.227:30303" err="dial tcp 52.169.14.227:30303: getsockopt: connection refused"
TRACE[01-17|12:11:39] Dial task done task="dyndial 20c9ad97c081d633 52.169.14.227:30303"
TRACE[01-17|12:11:39] Skipping dial candidate id=6ce05930c72abc63 addr=13.84.180.240:30303 err="already dialing"
TRACE[01-17|12:11:43] Starting bonding ping/pong id=20c9ad97c081d633 known=false failcount=0 age=421172h11m43.174491488s
TRACE[01-17|12:11:43] Starting bonding ping/pong id=6ce05930c72abc63 known=false failcount=0 age=421172h11m43.174543s
TRACE[01-17|12:11:43] >> PING/v4 addr=52.169.14.227:30303 err=nil
TRACE[01-17|12:11:43] >> PING/v4 addr=13.84.180.240:30303 err=nil
DEBUG[01-17|12:11:43] No discv4 seed nodes found
TRACE[01-17|12:11:43] Dial task done task="discovery lookup"
TRACE[01-17|12:11:43] Skipping dial candidate id=20c9ad97c081d633 addr=52.169.14.227:30303 err="recently dialed"
TRACE[01-17|12:11:43] New dial task task="discovery lookup"
TRACE[01-17|12:11:47] Starting bonding ping/pong id=20c9ad97c081d633 known=false failcount=0 age=421172h11m47.176344517s
TRACE[01-17|12:11:47] Starting bonding ping/pong id=6ce05930c72abc63 known=false failcount=0 age=421172h11m47.176395588s
TRACE[01-17|12:11:47] >> PING/v4 addr=52.169.14.227:30303 err=nil
TRACE[01-17|12:11:47] >> PING/v4 addr=13.84.180.240:30303 err=nil
DEBUG[01-17|12:11:47] No discv4 seed nodes found
TRACE[01-17|12:11:47] Dial task done task="discovery lookup"
TRACE[01-17|12:11:47] Skipping dial candidate id=6ce05930c72abc63 addr=13.84.180.240:30303 err="already dialing"
TRACE[01-17|12:11:47] New dial task task="discovery lookup"
TRACE[01-17|12:11:50] Dial error task="dyndial 6ce05930c72abc63 13.84.180.240:30303" err="dial tcp 13.84.180.240:30303: i/o timeout"
TRACE[01-17|12:11:50] Dial task done task="dyndial 6ce05930c72abc63 13.84.180.240:30303"
TRACE[01-17|12:11:50] Skipping dial candidate id=20c9ad97c081d633 addr=52.169.14.227:30303 err="recently dialed"
TRACE[01-17|12:11:51] Starting bonding ping/pong id=20c9ad97c081d633 known=false failcount=0 age=421172h11m51.176796185s
TRACE[01-17|12:11:51] Starting bonding ping/pong id=6ce05930c72abc63 known=false failcount=0 age=421172h11m51.176845318s
TRACE[01-17|12:11:51] >> PING/v4 addr=52.169.14.227:30303 err=nil
TRACE[01-17|12:11:51] >> PING/v4 addr=13.84.180.240:30303 err=nil
DEBUG[01-17|12:11:51] No discv4 seed nodes found
TRACE[01-17|12:11:51] Dial task done task="discovery lookup"
TRACE[01-17|12:11:51] Skipping dial candidate id=6ce05930c72abc63 addr=13.84.180.240:30303 err="recently dialed"
TRACE[01-17|12:11:51] New dial task task="discovery lookup"
DEBUG[01-17|12:11:52] Recalculated downloader QoS values rtt=20s confidence=1.000 ttl=1m0s
TRACE[01-17|12:11:55] Starting bonding ping/pong id=20c9ad97c081d633 known=false failcount=0 age=421172h11m55.175950453s
TRACE[01-17|12:11:55] Starting bonding ping/pong id=6ce05930c72abc63 known=false failcount=0 age=421172h11m55.175999503s
TRACE[01-17|12:11:55] >> PING/v4 addr=52.169.14.227:30303 err=nil
TRACE[01-17|12:11:55] >> PING/v4 addr=13.84.180.240:30303 err=nil
DEBUG[01-17|12:11:55] No discv4 seed nodes found
TRACE[01-17|12:11:55] Dial task done task="discovery lookup"
TRACE[01-17|12:11:55] Skipping dial candidate id=20c9ad97c081d633 addr=52.169.14.227:30303 err="recently dialed"
TRACE[01-17|12:11:55] New dial task task="discovery lookup"
TRACE[01-17|12:11:59] Starting bonding ping/pong id=20c9ad97c081d633 known=false failcount=0 age=421172h11m59.177396884s
TRACE[01-17|12:11:59] Starting bonding ping/pong id=6ce05930c72abc63 known=false failcount=0 age=421172h11m59.177462322s
TRACE[01-17|12:11:59] >> PING/v4 addr=52.169.14.227:30303 err=nil
TRACE[01-17|12:11:59] >> PING/v4 addr=13.84.180.240:30303 err=nil
DEBUG[01-17|12:11:59] No discv4 seed nodes found
TRACE[01-17|12:11:59] Dial task done task="discovery lookup"
TRACE[01-17|12:11:59] Skipping dial candidate id=6ce05930c72abc63 addr=13.84.180.240:30303 err="recently dialed"
TRACE[01-17|12:11:59] New dial task task="discovery lookup"
I checked my firewall and NAT, they allow 30303 and 30304 on both TCP and UDP.
$ sudo ufw status | grep 3030
30304 ALLOW Anywhere
30303 ALLOW Anywhere
30304 (v6) ALLOW Anywhere (v6)
30303 (v6) ALLOW Anywhere (v6)
$ sudo iptables --list | grep 3030
ACCEPT tcp -- anywhere anywhere tcp dpt:30304
ACCEPT udp -- anywhere anywhere udp dpt:30304
ACCEPT tcp -- anywhere anywhere tcp dpt:30303
ACCEPT udp -- anywhere anywhere udp dpt:30303
EDIT
I also tried to follow this post to strictly set my peers to the revived ropsten net. But the peers still seem to be rejecting my connection.
> admin.addPeer('enode://6ce05930c72abc632c58e2e4324f7c7ea478cec0ed4fa2528982cf34483094e9cbc9216e7aa349691242576d552a2a56aaeae426c5303ded677ce455ba1acd9d@13.84.180.240:30303')
TRACE[01-17|13:14:18] msg="sending {\"jsonrpc\":\"2.0\",\"id\":15,\"method\":\"admin_addPeer\",\"params\":[\"enode://6ce05930c72abc632c58e2e4324f7c7ea478cec0ed4fa2528982cf34483094e9cbc9216e7aa349691242576d552a2a56aaeae426c5303ded677ce455ba1acd9d@13.84.180.240:30303\"]}"
TRACE[01-17|13:14:18] msg="<-readResp: response {\"jsonrpc\":\"2.0\",\"id\":15,\"result\":true}"
DEBUG[01-17|13:14:18] Adding static node node=enode://6ce05930c72abc632c58e2e4324f7c7ea478cec0ed4fa2528982cf34483094e9cbc9216e7aa349691242576d552a2a56aaeae426c5303ded677ce455ba1acd9d@13.84.180.240:30303
true
> TRACE[01-17|13:14:18] New dial task task="staticdial 20c9ad97c081d633 52.169.14.227:30303"
> admin.addPeer('enode://20c9ad97c081d63397d7b685a412227a40e23c8bdc6688c6f37e97cfbc22d2b4d1db1510d8f61e6a8866ad7f0e17c02b14182d37ea7c3c8b9c2683aeb6b733a1@52.169.14.227:30303')
TRACE[01-17|13:14:18] msg="sending {\"jsonrpc\":\"2.0\",\"id\":16,\"method\":\"admin_addPeer\",\"params\":[\"enode://20c9ad97c081d63397d7b685a412227a40e23c8bdc6688c6f37e97cfbc22d2b4d1db1510d8f61e6a8866ad7f0e17c02b14182d37ea7c3c8b9c2683aeb6b733a1@52.169.14.227:30303\"]}"
TRACE[01-17|13:14:18] msg="<-readResp: response {\"jsonrpc\":\"2.0\",\"id\":16,\"result\":true}"
DEBUG[01-17|13:14:18] Adding static node node=enode://20c9ad97c081d63397d7b685a412227a40e23c8bdc6688c6f37e97cfbc22d2b4d1db1510d8f61e6a8866ad7f0e17c02b14182d37ea7c3c8b9c2683aeb6b733a1@52.169.14.227:30303
true
> TRACE[01-17|13:14:18] Dial error task="staticdial 20c9ad97c081d633 52.169.14.227:30303" err="dial tcp 52.169.14.227:30303: getsockopt: connection refused"
DEBUG[01-17|13:14:18] Can't resolve node id=20c9ad97c081d633 err="discovery is disabled"
TRACE[01-17|13:14:18] Dial task done task="staticdial 20c9ad97c081d633 52.169.14.227:30303"
>
>
>
>
>
>
> TRACE[01-17|13:14:19] Dial error task="staticdial 6ce05930c72abc63 13.84.180.240:30303" err="dial tcp 13.84.180.240:30303: i/o timeout"
DEBUG[01-17|13:14:19] Can't resolve node id=6ce05930c72abc63 err="discovery is disabled"
TRACE[01-17|13:14:19] Dial task done task="staticdial 6ce05930c72abc63 13.84.180.240:30303"
TRACE[01-17|13:14:19] New dial task task="wait for dial hist expire (28.90111341s)"
> DEBUG[01-17|13:14:36] Recalculated downloader QoS values rtt=20s confidence=1.000 ttl=1m0s
TRACE[01-17|13:14:48] Dial task done task="wait for dial hist expire (28.90111341s)"
TRACE[01-17|13:14:48] New dial task task="staticdial 20c9ad97c081d633 52.169.14.227:30303"
TRACE[01-17|13:14:48] Dial error task="staticdial 20c9ad97c081d633 52.169.14.227:30303" err="dial tcp 52.169.14.227:30303: getsockopt: connection refused"
DEBUG[01-17|13:14:48] Can't resolve node id=20c9ad97c081d633 err="discovery is disabled"
TRACE[01-17|13:14:48] Dial task done task="staticdial 20c9ad97c081d633 52.169.14.227:30303"
TRACE[01-17|13:14:48] New dial task task="wait for dial hist expire (948.889762ms)"
TRACE[01-17|13:14:49] Dial task done task="wait for dial hist expire (948.889762ms)"
TRACE[01-17|13:14:49] New dial task task="staticdial 6ce05930c72abc63 13.84.180.240:30303"
DEBUG[01-17|13:14:56] Recalculated downloader QoS values rtt=20s confidence=1.000 ttl=1m0s
TRACE[01-17|13:15:04] Dial error task="staticdial 6ce05930c72abc63 13.84.180.240:30303" err="dial tcp 13.84.180.240:30303: i/o timeout"
DEBUG[01-17|13:15:04] Can't resolve node id=6ce05930c72abc63 err="discovery is disabled"
TRACE[01-17|13:15:04] Dial task done task="staticdial 6ce05930c72abc63 13.84.180.240:30303"
TRACE[01-17|13:15:04] New dial task task="wait for dial hist expire (14.050301035s)"
DEBUG[01-17|13:15:16] Recalculated downloader QoS values rtt=20s confidence=1.000 ttl=1m0s
TRACE[01-17|13:15:18] Dial task done task="wait for dial hist expire (14.050301035s)"
TRACE[01-17|13:15:18] New dial task task="staticdial 20c9ad97c081d633 52.169.14.227:30303"
TRACE[01-17|13:15:18] Dial error task="staticdial 20c9ad97c081d633 52.169.14.227:30303" err="dial tcp 52.169.14.227:30303: getsockopt: connection refused"
DEBUG[01-17|13:15:18] Can't resolve node id=20c9ad97c081d633 err="discovery is disabled"
TRACE[01-17|13:15:18] Dial task done task="staticdial 20c9ad97c081d633 52.169.14.227:30303"
TRACE[01-17|13:15:18] New dial task task="wait for dial hist expire (15.796765988s)"
TRACE[01-17|13:15:34] Dial task done task="wait for dial hist expire (15.796765988s)"
TRACE[01-17|13:15:34] New dial task task="staticdial 6ce05930c72abc63 13.84.180.240:30303"
DEBUG[01-17|13:15:36] Recalculated downloader QoS values rtt=20s confidence=1.000 ttl=1m0s
TRACE[01-17|13:15:49] Dial error task="staticdial 6ce05930c72abc63 13.84.180.240:30303" err="dial tcp 13.84.180.240:30303: i/o timeout"
DEBUG[01-17|13:15:49] Can't resolve node id=6ce05930c72abc63 err="discovery is disabled"
TRACE[01-17|13:15:49] Dial task done task="staticdial 6ce05930c72abc63 13.84.180.240:30303"
TRACE[01-17|13:15:49] New dial task task="staticdial 20c9ad97c081d633 52.169.14.227:30303"
TRACE[01-17|13:15:50] Dial error task="staticdial 20c9ad97c081d633 52.169.14.227:30303" err="dial tcp 52.169.14.227:30303: getsockopt: connection refused"
DEBUG[01-17|13:15:50] Can't resolve node id=20c9ad97c081d633 err="discovery is disabled"
TRACE[01-17|13:15:50] Dial task done task="staticdial 20c9ad97c081d633 52.169.14.227:30303"
TRACE[01-17|13:15:50] New dial task task="wait for dial hist expire (28.843718728s)"