Multiple opened windows in the same browser - http

I would like to ask you how a computer can differentiates between multiple opened windows in the same browser ? For example opening two web sites both http or https.

Related

Why do my local debug websites always open in Internet Explorer?

I have two entirely separate web apps that display the same behavior on Windows 10. One is an Angular 8/nodejs 16 app that I can serve locally with ng serve. The 2nd is an older ASP.NET site that I build/run locally via Visual Studio. The behavior is this:
If I try to access the local website via localhost in Chrome or Edge, the site is immediately opened instead in Internet Explorer. Attempting to open in Firefox, however, is successful.
I recently upgraded computers and am only experiencing this on the new machine. I have been unable to identify what could be causing this. Windows default browser is set to Chrome.
In your computer, change your default web browser as:
settings-->default apps-->web browser
Figured it out...it's an IT policy that has the respective browsers always open specific URLs in IE--in this case, localhost. I was able identify this by videoing the screen and noticing a message that popped up for only a few milliseconds:
Your system administrator has configured Google Chrome to open Internet Explorer to access localhost.
With that error, I found this question on SO with the answer.

how to configure iis so that I can connect to my iis hosted localhost from a remote windows pc

there must be a load of questions on this but I cant get it working. I have a asp.net app running locally hosted within iis (windows 8/ version 6.2) which I can browse locally. Example below, and it works without a problem.
http://localhost:1234
I'm trying to browse this site from a windows virtual machine using remote desktop and then launching the browser on the client machine. Unfortunately this display "Internet Explorer cannot display the webpage"
any ideas why I cant get through on a remote desktop? The client has internet access obviously and I can ping the other machine (both ways). Is there an IIS or firewall setting I can configure. The firewall on the dev box (i.e. the web server in this situation) has a firewall switched on. When I turn it off I still get the same error message.
My iis authenication settings are shown below (for my website, not for the 'Default Web Site'):
On the client machine, I'm using the following:
http://12.34.56.78:1234
Thanks,
James
Try using https: instead of http: and also to access the website from other PC, you need to enable your Anonymous Authentication. And you also need to Enable the Directory Browsing from IIS settings of website.
Can you ping the ip? Disable the firewall on both machines and try.
Let me know

how to open index.php on local network

i have installed WAMP server on a windows computer and set up a mysql database and php enabled web application. The server is running windows XP.
Now I want to access the index.php file through my Mac connected to the same network. When I browse to the folder and click on the file, it downloads and opens it on the editor instead of the browser. Even when I right click on the file and select open with other, all the browsers are greyed out and not selectable.
I would really appreciate if someone can help me out with this.
You are trying to access the HTML file in the File Explorer.
Web pages served by web servers are supposed to accessed through the browser (like Safari, Chrome, Firefox and Internet Explorer).
So, if the name of the server machine (the one running windows XP, in your case) is, say, windowshost, then go into the browser and type:
http://windowshost
Or, maybe, since it is wamp:
http://windowshost:8080
That last part (:8080) is the port where the web server is. It really depends on how it is configured.
make sure that Windows Firewall is not blocking port 80
and then from the browser in Mac type : http://[windows-ip-address]/index.php
This is a confusion arising from the fact that the index.php file exists in two locations: the 'virtual location` that is provided by the web server, and the actual location on your computer's storage device (whether this is a local or remote storage device).
When accessed through the server, the PHP is rendered into HTML, so your browser can understand it, and the content-type is explicitly set to HTML.
When you attempt to open the php file from your file browser, it just looks like a .php file :) So, quite understandably, it opens in your text editor.
In order to see the rendered index.php, you must, in your web browser, go to your Windows' computer's hostname/ip address.
if you want to access through it mac, then first ensure that whether it is accessible on windows if yes, then in that link put your ip address in space of localhost then it will be accessible on mac.If it is still not accessible then put you ip address in mac host file then it will be accessible.

Force the web browser to request authentification when downloading a file located outside the webserver

I have a website, a kind on intranet one (written in PHP & running on IIS)
Many hyperlinks point to PDF files which are not on the webserver, but on an other network drive. (don't ask me why ! :)
If the client has already (previsouly) logged to this network drive, download will proceed when client clicks the link.
If the client has not yet logged to the network drive, the download will fails ("Internet Explorer cannot display this page").
To download files from this website, clients thus have to open from Windows (i.e. 'my computer') this drive (all users have mapped this drive). Windows will then request authentification.
Is there a way to request the browser (Internet explorer in my case) to force the authentification request for this drive?
One way would be to store these indentifications data on Windows, but that is not what I want.
Is there other way ?
Thanks to everybody who would take time to bring an answer.
edit: it does not work only for clients who do not belong to the domain. But there are some in this case.

"Internet Explorer cannot display the webpage"

I have an application that displays PDF files via Crystal Reports in a new window to the user. This works perfectly on my development machine and when accessing the site directly on the production server (remote desktop running browser installed on server) but when i access the site from the out side over the internet i get the error. Other reports display fine and this report used to work until i recently made some changes and re-installed the site. All code is in try ... catch but not info is being written to my error files. Cant figure out why it would work locally on the server but not over the internet and only this one report.
Have tried the System.Web attributes maxRequestLength and executionTimeout.
The Server is:
Windows Web Server 2008
IIS 7
Framework 4
This turned out to be an issue with the crystal report file, i never found out exactly why but i narrowed it down to one of the fields causing the problem, remove the field and no problem. I think it may have been linked to the reports xml based data source but cannot prove it.
Probably a firewall setting. Please make sure your firewall explicitly allows incoming connections to the TCP port 80 (or 443 for https, or anything else if you are accessing the site via another port) and try again.

Resources