附件23.1

獨立註冊會計師事務所的同意書

我們同意在以下注冊聲明中以引用方式註冊為公司:

(1)

關於Cogent Communications Holdings,Inc.2017年獎勵計劃的登記聲明(表格S-8第333-255712號)。

(2)

關於Cogent Communications Holdings,Inc.2017年獎勵計劃的登記聲明(表格S-8第333-231145號)。

(3)

關於Cogent Communications Holdings,Inc.2017年獎勵計劃的登記聲明(表格S-8第333-217608號)。

(4)

關於Cogent Communications Holdings,Inc.2004年獎勵計劃的登記聲明(表格S-8第333-196528號)。

(5)

關於Cogent Communications Holdings,Inc.2004年獎勵計劃的登記聲明(表格S-8第333-181195號)。

(6)

關於Cogent Communications Holdings,Inc.2004年獎勵計劃的登記聲明(表格S-8第333-166615號)。

(7)

關於Cogent Communications Holdings,Inc.2004年獎勵計劃的登記聲明(表格S-8第333-142759號)。

(8)

關於Cogent Communications Holdings,Inc.2004年獎勵計劃的登記聲明(表格S-8第333-126676號)。

在我們日期為2022年2月25日的報告中,關於索引中所列Cogent Communications Holdings,Inc.第15(A)2項的合併財務報表和時間表,以及Cogent Communications Holdings,Inc.在截至2021年12月31日的本年度報告(Form 10-K)中對Cogent Communications Holdings,Inc.財務報告的內部控制有效性。

/s/安永律師事務所

弗吉尼亞州泰森斯
2022年2月25日