mirror of
https://github.com/agrinman/tunnelto.git
synced 2026-04-26 01:06:01 +03:00
[GH-ISSUE #38] Invalid Host header #36
Labels
No labels
Need more info
bug
duplicate
enhancement
good first issue
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tunnelto#36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wandyirawan on GitHub (Mar 15, 2021).
Original GitHub issue: https://github.com/agrinman/tunnelto/issues/38
hi tunnelto.dev, i have try tunnnelto to access my react app at port 4200, but when i try the tunnel just show invalid host header,
i have try
tunnelto -p 4200 -s mainWeb -h localhostor
tunnelto -p 4200 -s mainWebbut noting happens, how to fix it? thanks
@agrinman commented on GitHub (Apr 18, 2021):
Can you provide some more information like the output you get running it with the verbose command
-v?@dcg90 commented on GitHub (Apr 20, 2021):
Hello @agrinman, I'm getting the same error (I think) for an angular/asp.net core app. I'm starting tunnelto like
tunnelto.exe -s dev-env -p 50815but when I navigate to https://dev-env.tunnelto.dev/ I get a bad request - invalid hostname response. I inspected the request on the dashboard and I see the host header is set todev-env.tunnelto.dev(which makes sense) but I'm wondering if there's a way to override this header to be localhost:50815?Thanks.
@agrinman commented on GitHub (Apr 20, 2021):
Can you just set the host header on your request, this isn't a tunnelto issue as the request arrives as sent.
Ie:
curl -H "host: localhost" ...@agrinman commented on GitHub (Apr 20, 2021):
Closing this for now please, re-open if there's some weird behavior with tunnelto. Thanks!