Port gets unnecesarily rewritten in Proxy
See original GitHub issueIssue details
I have a link which needs to link to a specific port (which isnt the port that gets proxied), however browsersync rewrites the URL to the Browsersync port.
Steps to reproduce/test case
Assuming: You are running stock browsersync The port you are proxying localhost:80 to localhost:3000 You are trying to link to localhost:6426
Write the anchor in the HTML
<a href="http://localhost:6426">test</a>
Observe how the link in the browser gets rewritten to
<a href="http://localhost:3000">test</a>
Please specify which version of Browsersync, node and npm you’re running
- Browsersync [ 2.24.5 ]
- Node [ 10.4.1 ]
- Npm [ 6.1.0 ]
Affected platforms
I can now only confirm Linux (host and client) but considering the nature of this bug, I suspect it will be all OS’s.
- linux
- windows
- OS X
- freebsd
- solaris
- other (please specify which)
Browsersync use-case
- API
- Gulp
- Grunt
- CLI
If CLI, please paste the entire command below
{cli command here}
for all other use-cases, (gulp, grunt etc), please show us exactly how you’re using Browsersync
(laravel-mix-browsersync-official)
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Evaluate proxy by port versus proxy by hostname
The first rewritten URL example for proxy by hostname show the URL form if EZproxy uses port 80, in which case no port...
Read more >How to rewrite proxified HTTP requests in Charles without ...
I am using Charles to intercept and rewrite a certain query in proxified HTTP requests as following: HTTP request --->> Proxifier ...
Read more >How to use Charles Proxy to rewrite HTTPS traffic for web ...
Rewriting traffic with Breakpoints The quickest way to achieve this is to use a Breakpoint. These are set up for specific resources (or ......
Read more >Nginx reverse proxy subdirectory rewrites for sourcegraph
I know my approach is probably wrong using rewrite and I'm trying the sub_filter module right now. I captured the response of sourcegraph...
Read more >Is it safe to have an opened port on my PC with a proxy server ...
You should query yourself on the first question and keep in mind this easy advice: Always close unnecessary services and specific ports ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I forgot to look back at this, Thanks for the fix!
@megaxlr confirmed bug, it will be looked at 😃