http://localhost:8080 not working in windows 7 - asp.net-mvc-3

I have installed IIS 7 in my PC which runs windows 7. When I and type http://localhost:8080 I am not getting the IIS home page. I tried in IE, Google Chrome and mozilla firefox. In all the browsers I am getting a page 404 error. I don't know what to do.
I have tried the following steps for resolution:
Removed the # symbol from the host file under the system 32 directory
Stopped and restarted the IIS
When I type inetmgr in the run command, the IIS window opens up but I am not getting the default website node.
When I navigate to c:\windows\inetpub\wwwroot, I am not able to see the default website directory.

That's because when you install IIS on your machine it doesn't listen on 8080, it listens on 80
edit
The default site is located in c:\inetpub\wwwroot, never in the windows directory

Related

Can't access my local virtual-box hosted sites using Edge (works in Chrome/Firefox/IE11)

I am running Vagrant for our local web development sites, they all work fine on Chrome, Firefox and even Internet Explorer 11. However when using the Microsfot Edge browser I always get the following message:
Can't reach this page
Obviously this is something unique to Edge, can anyone guess to why this is happening?
I am running the following:
Vagrant 1.9.2
VirtualBox 5.1.2
Windows 10 Home
This happens if I enter the IP or the hostname
Had this problem, Vagrant site wouldnt load on Edge (site not found), but worked on Chrome, IE, Firefox, etc.
The workaround for me was changing the VirtualBox Host-Only Ethernet Adapter’s "*NdisDeviceType" from 1 to 0 and rebooting:
open regedit
navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{4d36e972-e325-11ce-bfc1-08002be10318}\00XX.
For me, the path to the registry key "*NdisDeviceType" ended with \0016
set "*NdisDeviceType" to 0
reboot
The downside to this is that now you’ll have an “Unidentified Network”
in your Network and Sharing Center. It’s also managed by Windows
Firewall now and by default it is in the Public Profile and it can’t
be really changed easily.
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/10142843/#comment-8

TomEE Service will not allow to access the application from another LAN Machine

I have deployed my webapps in apache-tomee-plus-1.5.1 and start the server using startup.bat in a windows VM. It's working fine and accessible from any other LAN machine using VM's ip, i.e., 192.168.1.236:8080/archiva.
Now, I want to install the server as a service. For that I have install a service using "service.bat install Archiva" command. When I start the service the application is working fine using localhost/192.168.1.236 from the VM. But not accessible from other LAN machine.
FYI, when I start the service the tomcat home page is shown after hitting 192.168.1.236:8080.
Please help.
Go to Windows Start --> Control Panel
Open Windows Firewall(If not showing, please search it and open).
Click on Allow a Program or Feature through windows firewall
see image...
Click on Change settings and then Allow another program...
Then add all the TomEE.*.exe and press ok.
see image...
Restart your service and application is available from LAN.

localhost = HTTP Error 404

I have installed Windows 7 freshly in VMware as Homegroup. Turned off Firewall , no Antivirus installed yet, windows Defender turned off.
yet localhost does not show in browser. Instead it shows 'HTTP Error 404. The requested resource is not found'.
I have enabled the 'Windows Features'
IIS / Web Management console and ISAPI Extensions , ISAPI Filters
I have checked that IIS is working because if I stop IIS it says 'This Site can's be reached'
Well I had not marked the upper level boxes in Windows Features eg: IIS line on LHS box to be clicked into.
now it is fine

HTTPS randomly become unresponsive until restart apache

i have Xampp installed on our Windows 7, and i have been having a problem after changing my os from server 2008 to win 7. My HTTP:// the website works fine, but the HTTPS:// website becomes unresponsive randomly many times in day. It doesn’t load an error page, it just continuously try’s to load the page, then it times out. In Xampp control panel, it doesn’t show any errors, and it says that apache is still running. However, when i stop the Apache and start it back up, the HTTPS:// fixed. What could be going on here? I am using default config.

Localhost on Windows 7

I want to enable a localhost on Windows 7 to be able to build websites with Chrome without a distant server. I would like to not install anything, and be able to, for example, navigate to http://localhost/something/somethingElse/index.html.
Anyone knows how?
In order to activate localhost server on Windows 7 navigate to:
-> Control Panel -> Programs and Features -> Turn Windows features on or off
Then search for Internet Information Services and check its checkbox.
Wait for Windows to make the changes, no need for immediate restart, the server will be enabled.
You can now navigate to
127.0.0.1
or
http://localhost
There is a simple chrome extension "200 OK". Which runs a web server on localhost.
Custom port settings
Choose your project folder and start the server

Resources