user107138: I am using Centos 7 and I installed the newest version of bitcoin core.
I just want to run a full node to download all the blocks.
According to their documentation, the first time we start bitcoin core, it will start automatically to download the blocks.
This is my /.bitcoin/bitcoin.conf file:
datadir=/.../blocks
server=1
txindex=1
rpcport=8332
rpcuser=<something>
rpcpassword=<something>

After I run bitcoind -daemon, bitcoin-cli getblockcount gives me 0.
Is there anything wrong with the ports?
I tried netstat -na | grep 8333, and it gives me this:
tcp        0      0 0.0.0.0:8333            0.0.0.0:*               LISTEN
tcp        0      1 <***>:40706     <***>:8333     SYN_SENT
tcp6       0      0 :::8333                 :::*                    LISTEN

And netstat -na | grep 8332 gives me:
tcp        0      0 127.0.0.1:8332          0.0.0.0:*               LISTEN
tcp6       0      0 ::1:8332                :::*                    LISTEN

Output of bitcoin-cli getblockchaininfo:
{
  "chain": "main",
  "blocks": 0,
  "headers": 0,
  "bestblockhash": "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f",
  "difficulty": 1,
  "mediantime": 1231006505,
  "verificationprogress": 1.835803992430469e-09,
  "initialblockdownload": true,
  "chainwork": "0000000000000000000000000000000000000000000000000000000100010001",
  "size_on_disk": 293,
  "pruned": false,
  "softforks": {
    "bip34": {
      "type": "buried",
      "active": false,
      "height": 227931
    },
    "bip66": {
      "type": "buried",
      "active": false,
      "height": 363725
    },
    "bip65": {
      "type": "buried",
      "active": false,
      "height": 388381
    },
    "csv": {
      "type": "buried",
      "active": false,
      "height": 419328
    },
    "segwit": {
      "type": "buried",
      "active": false,
      "height": 481824
    }
  },
  "warnings": ""
}

Result of bitcoin-cli getnetworkinfo:
{
  "version": 200000,
  "subversion": "/Satoshi:0.20.0/",
  "protocolversion": 70015,
  "localservices": "0000000000000409",
  "localservicesnames": [
    "NETWORK",
    "WITNESS",
    "NETWORK_LIMITED"
  ],
  "localrelay": true,
  "timeoffset": 0,
  "networkactive": true,
  "connections": 0,
  "networks": [
    {
      "name": "ipv4",
      "limited": false,
      "reachable": true,
      "proxy": "",
      "proxy_randomize_credentials": false
    },
    {
      "name": "ipv6",
      "limited": false,
      "reachable": true,
      "proxy": "",
      "proxy_randomize_credentials": false
    },
    {
      "name": "onion",
      "limited": true,
      "reachable": false,
      "proxy": "",
      "proxy_randomize_credentials": false
    }
  ],
  "relayfee": 0.00001000,
  "incrementalfee": 0.00001000,
  "localaddresses": [
    {
      "address": "<***>",
      "port": 8333,
      "score": 1
    }
  ],
  "warnings": ""
}

I know the question is kind of dumb but please help me figure out what's wrong.
Edit:
bitcoind always freezes at this:
Loading addresses from DNS seed seed.bitcoin.sipa.be
2020-07-07T04:16:00Z Loading addresses from DNS seed seed.btc.petertodd.org
2020-07-07T04:16:00Z Loading addresses from DNS seed seed.bitcoin.sprovoost.nl
2020-07-07T04:16:11Z Loading addresses from DNS seed dnsseed.bluematt.me
2020-07-07T04:16:12Z Loading addresses from DNS seed dnsseed.emzy.de
2020-07-07T04:16:12Z Loading addresses from DNS seed dnsseed.bitcoin.dashjr.org
2020-07-07T04:16:23Z Loading addresses from DNS seed seed.bitcoinstats.com
2020-07-07T04:16:23Z Loading addresses from DNS seed seed.bitcoin.jonasschnelli.ch
2020-07-07T04:16:23Z 202 addresses found from DNS seeds
2020-07-07T04:16:23Z dnsseed thread exit

Is there anything wrong?

user48884: The problem is that you have 0 connections. Your node isn't connecting to other nodes on the network. It is able to connect to the DNS seeders and get node IPs to connect to, but something is preventing it from making the actual connection itself.
Make sure there isn't something preventing your node from making outbound connections to port 8333. This could be a firewall, an antivirus software, or even your Internet service provider.

107138: <p>I am using Centos 7 and I installed the newest version of bitcoin core.
I just want to run a full node to download all the blocks.
According to their <a href="https://bitcoin.org/en/full-node#other-linux-daemon" rel="nofollow noreferrer">documentation</a>, the first time we start bitcoin core, it will start automatically to download the blocks.</p>
<p>This is my /.bitcoin/bitcoin.conf file:</p>
<pre><code>datadir=/.../blocks
server=1
txindex=1
rpcport=8332
rpcuser=&lt;something&gt;
rpcpassword=&lt;something&gt;
</code></pre>
<p>After I run <code>bitcoind -daemon</code>, <code>bitcoin-cli getblockcount</code> gives me <code>0</code>.</p>
<p>Is there anything wrong with the ports?</p>
<p>I tried <code>netstat -na | grep 8333</code>, and it gives me this:</p>
<pre><code>tcp        0      0 0.0.0.0:8333            0.0.0.0:*               LISTEN
tcp        0      1 &lt;***&gt;:40706     &lt;***&gt;:8333     SYN_SENT
tcp6       0      0 :::8333                 :::*                    LISTEN
</code></pre>
<p>And <code>netstat -na | grep 8332</code> gives me:</p>
<pre><code>tcp        0      0 127.0.0.1:8332          0.0.0.0:*               LISTEN
tcp6       0      0 ::1:8332                :::*                    LISTEN
</code></pre>
<p>Output of <code>bitcoin-cli getblockchaininfo</code>:</p>
<pre><code>{
  &quot;chain&quot;: &quot;main&quot;,
  &quot;blocks&quot;: 0,
  &quot;headers&quot;: 0,
  &quot;bestblockhash&quot;: &quot;000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f&quot;,
  &quot;difficulty&quot;: 1,
  &quot;mediantime&quot;: 1231006505,
  &quot;verificationprogress&quot;: 1.835803992430469e-09,
  &quot;initialblockdownload&quot;: true,
  &quot;chainwork&quot;: &quot;0000000000000000000000000000000000000000000000000000000100010001&quot;,
  &quot;size_on_disk&quot;: 293,
  &quot;pruned&quot;: false,
  &quot;softforks&quot;: {
    &quot;bip34&quot;: {
      &quot;type&quot;: &quot;buried&quot;,
      &quot;active&quot;: false,
      &quot;height&quot;: 227931
    },
    &quot;bip66&quot;: {
      &quot;type&quot;: &quot;buried&quot;,
      &quot;active&quot;: false,
      &quot;height&quot;: 363725
    },
    &quot;bip65&quot;: {
      &quot;type&quot;: &quot;buried&quot;,
      &quot;active&quot;: false,
      &quot;height&quot;: 388381
    },
    &quot;csv&quot;: {
      &quot;type&quot;: &quot;buried&quot;,
      &quot;active&quot;: false,
      &quot;height&quot;: 419328
    },
    &quot;segwit&quot;: {
      &quot;type&quot;: &quot;buried&quot;,
      &quot;active&quot;: false,
      &quot;height&quot;: 481824
    }
  },
  &quot;warnings&quot;: &quot;&quot;
}
</code></pre>
<p>Result of <code>bitcoin-cli getnetworkinfo</code>:</p>
<pre><code>{
  &quot;version&quot;: 200000,
  &quot;subversion&quot;: &quot;/Satoshi:0.20.0/&quot;,
  &quot;protocolversion&quot;: 70015,
  &quot;localservices&quot;: &quot;0000000000000409&quot;,
  &quot;localservicesnames&quot;: [
    &quot;NETWORK&quot;,
    &quot;WITNESS&quot;,
    &quot;NETWORK_LIMITED&quot;
  ],
  &quot;localrelay&quot;: true,
  &quot;timeoffset&quot;: 0,
  &quot;networkactive&quot;: true,
  &quot;connections&quot;: 0,
  &quot;networks&quot;: [
    {
      &quot;name&quot;: &quot;ipv4&quot;,
      &quot;limited&quot;: false,
      &quot;reachable&quot;: true,
      &quot;proxy&quot;: &quot;&quot;,
      &quot;proxy_randomize_credentials&quot;: false
    },
    {
      &quot;name&quot;: &quot;ipv6&quot;,
      &quot;limited&quot;: false,
      &quot;reachable&quot;: true,
      &quot;proxy&quot;: &quot;&quot;,
      &quot;proxy_randomize_credentials&quot;: false
    },
    {
      &quot;name&quot;: &quot;onion&quot;,
      &quot;limited&quot;: true,
      &quot;reachable&quot;: false,
      &quot;proxy&quot;: &quot;&quot;,
      &quot;proxy_randomize_credentials&quot;: false
    }
  ],
  &quot;relayfee&quot;: 0.00001000,
  &quot;incrementalfee&quot;: 0.00001000,
  &quot;localaddresses&quot;: [
    {
      &quot;address&quot;: &quot;&lt;***&gt;&quot;,
      &quot;port&quot;: 8333,
      &quot;score&quot;: 1
    }
  ],
  &quot;warnings&quot;: &quot;&quot;
}
</code></pre>
<p>I know the question is kind of dumb but please help me figure out what's wrong.</p>
<p>Edit:</p>
<p><code>bitcoind</code> always freezes at this:</p>
<pre><code>Loading addresses from DNS seed seed.bitcoin.sipa.be
2020-07-07T04:16:00Z Loading addresses from DNS seed seed.btc.petertodd.org
2020-07-07T04:16:00Z Loading addresses from DNS seed seed.bitcoin.sprovoost.nl
2020-07-07T04:16:11Z Loading addresses from DNS seed dnsseed.bluematt.me
2020-07-07T04:16:12Z Loading addresses from DNS seed dnsseed.emzy.de
2020-07-07T04:16:12Z Loading addresses from DNS seed dnsseed.bitcoin.dashjr.org
2020-07-07T04:16:23Z Loading addresses from DNS seed seed.bitcoinstats.com
2020-07-07T04:16:23Z Loading addresses from DNS seed seed.bitcoin.jonasschnelli.ch
2020-07-07T04:16:23Z 202 addresses found from DNS seeds
2020-07-07T04:16:23Z dnsseed thread exit
</code></pre>
<p>Is there anything wrong?</p>
 48884: <p>The problem is that you have 0 connections. Your node isn't connecting to other nodes on the network. It is able to connect to the DNS seeders and get node IPs to connect to, but something is preventing it from making the actual connection itself.</p>
<p>Make sure there isn't something preventing your node from making outbound connections to port 8333. This could be a firewall, an antivirus software, or even your Internet service provider.</p>
