Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connecting to localhost issue: WARN dead loop detected #581

Open
0x0OZ opened this issue Mar 6, 2025 · 3 comments
Open

Connecting to localhost issue: WARN dead loop detected #581

0x0OZ opened this issue Mar 6, 2025 · 3 comments

Comments

@0x0OZ
Copy link

0x0OZ commented Mar 6, 2025

When trying to access the ip 127.0.0.1 or a hostname resolving to it, I get the warning

Image

I tried running goproxy as socks proxy and HTTP proxy..

Not sure if that's bug related to firefox or the tool itself

@snail007
Copy link
Owner

snail007 commented Mar 6, 2025

the domain format must be a normal one, must contains the dot.

@0x0OZ
Copy link
Author

0x0OZ commented Mar 7, 2025

Okay! I wonder why, but thanks. The issue was resolved when using a dotted domain.

@0x0OZ 0x0OZ closed this as completed Mar 7, 2025
@0x0OZ 0x0OZ reopened this Mar 11, 2025
@0x0OZ
Copy link
Author

0x0OZ commented Mar 11, 2025

Okay so I haven't noticed until now, but when the proxy resolves this fake local domain, it doesn't try to connect to localhost but rather to the interface IP.

So I have an app that is being hosted on localhost not 127.0.0.1 and if I try to connect to the virtual domain e.g oz.oz which is resolving to 127.0.0.1
To connect to that host, I need to try to access localhost not 127.0.0.1

Image

Is there a way to go around this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants