mardi 31 octobre 2017

How to open a local html file, not with file:// but with a web server like http://localhost:8080/VideoUsingWebComponents/index.html

I am not able to follow this .png file,posted for your reference

I have a zipped file extracted to the following location,C:\Program Files\WAMP\ht docs\VideoUsingWebComponents, created as per the image file uploaded here.In the folder I am supposed to open the index.html file with a web server, on simply clicking on the html file the browser opens with file:///C:/Program%20Files/WAMP/ht%20docs/VideoUsingWebComponents/index.html, I want it to open with http://localhost:8080...as instructed in the uploaded image, so I tried changing the above link like this, http://localhost:8080/C:/Program%20Files/WAMP/ht%20docs/VideoUsingWebComponents/index.html, but localhost refused to connect. I am using a windows pc , the image shown here is of a Mac.Please help to open index.html file with a web server. Thank you




Aucun commentaire:

Enregistrer un commentaire