Dotnet Connection refused using dotnet restore command

Hello everyone. I hope you are all well!
I’m trying to create a CI/CD integration using the pipeline, but when the “dotnet restore” command is run, two errors occur:
1 - “Unable to load the service index for source https://api.nuget.org/v3/index.json
2 - “Connection refused”

Please view the image where it is highlighted in yellow.

I’m not using Runner, below I’m providing my .gitlab-cyi.yml file so you can help me and identify what I’m doing wrong or what’s missing to implement so I can restore my project’s nuget packages . (There are packages like: Hagfire, NewtonJson,IdentityServer).

Could someone give me a light ?

PS: sorry for the english, i’m not fluent/native… =) :blush: