最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - ConnectError "tcp connect error" code: 111 connection refused - Stack Overflow

programmeradmin4浏览0评论

I'm encountering an error when running dfx deploy. After executing the command, an error appears. I'm new to this and still learning. I’d appreciate any help!

binding to: 127.0.0.1:34643
Mar 18 00:15:44.563 INFO ic-starter. Configuration: ValidatedConfig { replica_path: Some("/home/johnk/.cache/dfinity/versions/0.9.3/replica"), replica_version: "0.8.0", log_level: Warning, cargo_bin: "cargo", cargo_opts: "", state_dir: "/home/johnk/ic-project/hello5/.dfx/state/replicated_state", http_listen_addr: 127.0.0.1:0, http_port_file: Some("/home/johnk/ic-project/hello5/.dfx/replica-configuration/replica-1.port"), metrics_addr: None, provisional_whitelist: Some(All), artifact_pool_dir: "/home/johnk/ic-project/hello5/.dfx/state/replicated_state/node-100/ic_consensus_pool", crypto_root: "/home/johnk/ic-project/hello5/.dfx/state/replicated_state/node-100/crypto", state_manager_root: "/home/johnk/ic-project/hello5/.dfx/state/replicated_state/node-100/state", registry_local_store_path: "/home/johnk/ic-project/hello5/.dfx/state/replicated_state/ic_registry_local_store", unit_delay: None, initial_notary_delay: Some(600ms), dkg_interval_length: None, detect_consensus_starvation: None, consensus_pool_backend: Some("rocksdb"), subnet_features: SubnetFeatures { ecdsa_signatures: false, canister_sandboxing: false, http_requests: false, bitcoin_testnet_feature: None }, subnet_type: System, _state_dir_holder: None }, Application: starter
Mar 18 00:15:44.564 INFO Initialize replica configuration "/home/johnk/ic-project/hello5/.dfx/state/replicated_state/ic.json5", Application: starter
Mar 18 00:15:45.294 INFO Executing "/home/johnk/.cache/dfinity/versions/0.9.3/replica" "--replica-version" "0.8.0" "--config-file" "/home/johnk/ic-project/hello5/.dfx/state/replicated_state/ic.json5", Application: starter
Mar 18 00:15:47.537 WARN s:xbfln-jtge2-khab4-a2frw-ng7it-h6l44-gczgl-tn5yh-wynzi-ieqif-oae/n:ikgwu-bhrdw-c33x7-7sbrw-dvrv7-k2euw-gahmb-sxcvr-3r4b5-t2rks-yqe/ic_p2p/advert_utils AdvertRequestBuilder::new(): advert_config = Some(GossipAdvertConfig { best_effort_percentage: 20 })
version: 0.8.1
 Mar 18 08:15:47.589 INFO Log Level: INFO
 Mar 18 08:15:47.589 INFO Starting server. Listening on http://127.0.0.1:8002/
 Mar 18 08:15:48.627 WARN Internal Error during request:
hyper::Error(
    Connect,
    ConnectError(
        "tcp connect error",
        Os {
            code: 111,
            kind: ConnectionRefused,
            message: "Connection refused",
        },
    ),
)

I tried running dfx start --clean, changing the port, and checking if it's in use, but the error still persists. I also attempted to unblock it through the firewall, but it's still not working. I’m not sure what else to do—can anyone help me

发布评论

评论列表(0)

  1. 暂无评论