I tried several things like this before posting the question above where I sort of came into conclusion that it might be either related to rancher desktop or macos with rancher desktop setup. I'll check this issue, I think it's familiar though but will try it out.