gospider icon indicating copy to clipboard operation
gospider copied to clipboard

Can't crawl localhost

Open Olyno opened this issue 3 years ago • 4 comments

Hi 👋🏻

I tried to crawl http://localhost:3000 but looks like i can't: [0000] ERROR Failed to parse domain

How could i fix that please?

Using the latest commit.

Olyno avatar Oct 29 '21 10:10 Olyno

+1

ocervell avatar Feb 10 '23 13:02 ocervell

Try http://localhost.localdomain (in your case http://localhost.localdomain:3000)

If it doesn't work, You can add that to your /etc/hosts

Something Like this

# Loopback entries; do not change.
# For historical reasons, localhost precedes localhost.localdomain:
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

Note: This /etc/hosts was default for me on fedora 36

JodisKripe avatar Mar 01 '23 16:03 JodisKripe

imo we shouldn't need to have a to specify an aliased domain for this, we should be able to scan localhost directly ...

ocervell avatar Apr 07 '23 16:04 ocervell

imo we shouldn't need to have a to specify an aliased domain for this, we should be able to scan localhost directly ...

Yeah agreed, but I think the issue faced was resolved as soon as there was a 'period'(.) in the domain. This could be fixed by the Team, but this is like, the temporary fix. I'm not 100% sure that's the reason for the issue, but this seemed to work for me then.

JodisKripe avatar Apr 08 '23 07:04 JodisKripe