I can deploy successfully using the localhost, but when deploying to the devnet, I encounter this error. Could someone please help me?
Deploying program "user_profile_backend"...
Program path: /home/pluto/Dev/UserProfile_Solana/user-profile-backend/target/deploy/user_profile_backend.so...
thread 'main' panicked at cli/src/program.rs:2590:26:
Should return a valid tpu client: PubsubError(ConnectionError(Io(Os { code: 101, kind: NetworkUnreachable, message: "Network is unreachable" })))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
There was a problem deploying: Output { status: ExitStatus(unix_wait_status(25856)), stdout: "", stderr: "" }.
Anchor.toml
[toolchain]
[features]
seeds = true
skip-lint = false
[programs.localnet]
user_profile_backend = "***"
[registry]
url = "https://api.apr.dev"
[provider]
cluster = "Devnet"
wallet = "/home/pluto/.config/solana/id.json"
[scripts]
test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
Cargo.toml
[workspace]
members = [
"programs/*"
]
[profile.release]
overflow-checks = true
lto = "fat"
codegen-units = 1
[profile.release.build-override]
opt-level = 3
incremental = false
codegen-units = 1
anchor deploy --provider.cluster custom_devnet_rpc_url