[GH-ISSUE #1344] Blocked by firefox if I send a request to an IP address. #437

Closed
opened 2026-03-16 15:19:16 +03:00 by kerem · 2 comments
Owner

Originally created by @x-dongzi on GitHub (Nov 26, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1344

When I use the domain name to send the request, it can succeed.
But if I change the domain name to the ip address, there would be a network error.
The browser is firefox 83.
I use F12 to check the console. It seems that the ip address request was blocked with the error message NS_ERROR_DOM_BAD_URI.
How could I send the request with IP address? Because in my local dev environment, I do not have the DNS service.

Originally created by @x-dongzi on GitHub (Nov 26, 2020). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1344 When I use the domain name to send the request, it can succeed. But if I change the domain name to the ip address, there would be a network error. The browser is firefox 83. I use F12 to check the console. It seems that the ip address request was blocked with the error message NS_ERROR_DOM_BAD_URI. How could I send the request with IP address? Because in my local dev environment, I do not have the DNS service.
kerem 2026-03-16 15:19:16 +03:00
Author
Owner

@liyasthomas commented on GitHub (Nov 26, 2020):

Thanks for reporting the issue. I'm looking into it.

<!-- gh-comment-id:734029108 --> @liyasthomas commented on GitHub (Nov 26, 2020): Thanks for reporting the issue. I'm looking into it.
Author
Owner

@x-dongzi commented on GitHub (Nov 26, 2020):

Sorry. I rechecked the details, and found that it's a CORS problem. After I enabled CORS request in my springboot website, it works very well.
I will close this issue.

<!-- gh-comment-id:734040644 --> @x-dongzi commented on GitHub (Nov 26, 2020): Sorry. I rechecked the details, and found that it's a CORS problem. After I enabled CORS request in my springboot website, it works very well. I will close this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#437
No description provided.