Failed to create connection: dial tcp [::1]:4221: connect: connection refused

I’m stuck on Stage #IH0

I’ve tried … resetting the whole thing.

Here are my logs:

[compile] Compilation successful.

[tester::#IH0] Running tests for Stage #IH0 (Extract URL path)
[tester::#IH0] Running program
[tester::#IH0] $ ./your_server.sh
[your_program] Logs from your program will appear here!
[tester::#IH0] Failed to create connection: dial tcp [::1]:4221: connect: connection refused
[tester::#IH0] Test failed
[tester::#IH0] Terminating program
[tester::#IH0] Program terminated successfully

Hey man, hope you’re doing fine !

I’ve had a similar problem on another project and I was using goroutines (“go doSomething()”) without understanding it and knowing that a new thread is created, which I guess was “hiding” the connection port ? So maybe verify your function calls, hope that helps !

@yossev could you share a snippet of your code? Hard to help without more information.

Closing this thread due to inactivity. If you still need assistance, feel free to start a new discussion!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.