Localhost not redirecting to internal application - Windows 10

N

Nedunuri Eswar

[COLOR=rgba(211, 207, 202, 1)][COLOR=rgba(0, 91, 106, 1)]Hello,[/COLOR][/COLOR]

[COLOR=rgba(211, 207, 202, 1)][COLOR=rgba(0, 91, 106, 1)]Recently we upgraded OS Windows 7 to Windows 10, and since then, accessing internal application with localhost account/contact search is behaving little weird. On trying to access the URL, it doesn’t work on first click, but works on 2nd click.[/COLOR][/COLOR]

[COLOR=rgba(211, 207, 202, 1)]

[COLOR=rgba(0, 91, 106, 1)]Example 1) We use window.open menthod to access target application page from source system.[/COLOR]
[/COLOR]

[COLOR=rgba(211, 207, 202, 1)][COLOR=rgba(0, 91, 106, 1)]Application behavior illustrated below:[/COLOR][/COLOR]

[COLOR=rgba(211, 207, 202, 1)][COLOR=rgba(0, 91, 106, 1)]Ø[/COLOR] [COLOR=rgba(0, 91, 106, 1)]On first click of button, window opens momentarily but the address bar does have the right URL. It has “about:blank”. (the same code works fine for regular URLs like google.com)[/COLOR][/COLOR]

[COLOR=rgba(211, 207, 202, 1)][COLOR=rgba(0, 91, 106, 1)]Ø[/COLOR] [COLOR=rgba(0, 91, 106, 1)]On second click of button, window is populated with below sample URL, it redirects to the target application. [/COLOR][/COLOR]

[COLOR=rgba(211, 207, 202, 1)][COLOR=rgba(0, 91, 106, 1)]http://localhost:10000/?AccountID=&&CustomerID=[/COLOR][COLOR=rgba(0, 91, 106, 1)]1111111[/COLOR][/COLOR]


[COLOR=rgba(211, 207, 202, 1)]

[COLOR=rgba(0, 91, 106, 1)]example 2) Trying to access the localhost URL directly on browser.[/COLOR]
[/COLOR]

[COLOR=rgba(211, 207, 202, 1)][COLOR=rgba(0, 91, 106, 1)]Ø[/COLOR] [COLOR=rgba(0, 91, 106, 1)]On first attempt (copy/paste the above URL), will not take us anywhere, it just keeps trying.[/COLOR][/COLOR]

[COLOR=rgba(211, 207, 202, 1)][COLOR=rgba(0, 91, 106, 1)]Ø[/COLOR] [COLOR=rgba(0, 91, 106, 1)]On second attempt (enter key event on the same URL), takes us to target application.[/COLOR][/COLOR]

[COLOR=rgba(211, 207, 202, 1)][COLOR=rgba(0, 91, 106, 1)][/COLOR]
[/COLOR]

[COLOR=rgba(211, 207, 202, 1)][COLOR=rgba(0, 91, 106, 1)]The same code works fine in windows 7 OS, this started happening after windows 10 is applied and behaves the same across different virtual machines.[/COLOR][/COLOR]

[COLOR=rgba(211, 207, 202, 1)][COLOR=rgba(0, 91, 106, 1)][/COLOR]
[/COLOR]

[COLOR=rgba(211, 207, 202, 1)][COLOR=rgba(0, 91, 106, 1)]More tests performed with no luck:[/COLOR][/COLOR]

[COLOR=rgba(211, 207, 202, 1)][COLOR=rgba(0, 91, 106, 1)]* Tried replacing Localhost it my IP address, no luck.[/COLOR][/COLOR]

[COLOR=rgba(211, 207, 202, 1)][COLOR=rgba(0, 91, 106, 1)]* Tried on different browsers (Chrome and Edge), same behavior.[/COLOR][COLOR=rgba(136, 136, 136, 1)][/COLOR]


[COLOR=rgba(211, 207, 202, 1)][COLOR=rgba(0, 91, 106, 1)][/COLOR]
[/COLOR]

[COLOR=rgba(211, 207, 202, 1)][COLOR=rgba(0, 91, 106, 1)]-Eswar[/COLOR][/COLOR]
[/COLOR]

Continue reading...
 
Back
Top Bottom