unable to connect to local network IP : error 404 - iis

PING is ok .( all packets received )
I try to access a .NET ASP application that runs on IIS , on localhost, on a second PC.
OS : Windows 10.
Firewall disabled.
Function Discovery Provider Host : started
Function Discovery Provider started
SMB 1.0/CIFS File Sharing Support checked
Internet Protocol Version 6 (TCP/IPv6) is disabled for my network connection .
any suggestions?

SOLVED by putting IP on static. and adding IP in host file.

Related

why is my domain at my apache web server (windows 11) connection time out?

I've installed an apache web server to one of my windows 11 machines. I forwarded the ports 80 and 443 to this machine. I can access it by my world wide ip and machines local ip through browser but when i try with domain name it sometimes works but generally it waits a while and then connection times out.
I also added A records at my domain provider like below: (TTL = 1 hour)
Also gave permission from windows firewall for both private and local networks.
What am i missing here?
Ok i figured it out, although i wrote plain domain name in the browser chrome was changing it to https version of the site and that was causing the error.

cant connect to my iis7 hosted site on my mobile in the same network

I am using windows 7 Ultimate and iis7.5. I just created a site called steel.com and added it in to the host file like 127.0.0.1 steel.com.
It works fine on my local computer.
When I try to connect from another device (from my phone), nothing shows.
I connected those devices using hotspot from my laptop with baidu wifi hotspot.
I checked windows firewall.
I have added http rule and https rule
My site uses https protocol (steel.com).
Any idea what might be the issue?

Cannot access locally hosted sites

I have several sites on hosted on my local iis that I cannot access all of sudden.
Error I'm getting in all browsers I have installed (Chrome, IE, Edge) is- server DNS address could not be found.
Last thing I was doing before things wend wrong- installing Web Deploy 3.5, but uninstall did not help.
I checked hosts file and bindings in iis- both are valid.
Another thing I've tried with no luck:
Reset WINSOCK entries to installation defaults : netsh winsock reset catalog
Reset TCP/IP stack to installation defaults : netsh int ip reset reset.log
Flush DNS resolver cache : ipconfig /flushdns
Renew DNS client registration and refresh DHCP leases : ipconfig /registerdns
Flush routing table : route /f (reboot required)
Ping cannot file host as well
Ping request could not find host XXX. Please check the name and try again.
At the same time htt://localhost shows Default Web site with IIS welcome page.
This appeared to be a problem with permissions on host file- somehow those got broken

IIS server unavailable on a local wifi

I want to create an IIS server on my PC. I've created a wifi hotspot through netsh wlan set hostednetwork ... , and a new wifi hotspot appeared (wifi2, in which my pc was 192.168.137.1).
So I shared the connection of wifi1 (the real NIC, with ip 192.168.0.104) and I enabled sharing of HTTP service (because of the IIS server). Obviously IIS is running. wifi2 is set as a domestic net.
So, I've connected my smartphone to wifi2, and typed 192.168.137.1, the IP of my pc in wifi2, in wich it should be running the IIS server. But it respond with a timeout error. So I've typed 192.168.0.104 , the IP of wifi1, and I though my smartphone cannot reach it, because my phone is connected to wifi2, but it show the IIS home page. This is strange, but the problem is here: if I disconnect my PC from wifi1 (so there isn't an internet connection, but only a local wifi lan), from my smartphone I can't visualize anything, both 192.168.137.1 and 192.168.0.104 !
why I need an internet connection to show the IIS page?
How can I fix this problem?

I can't access my Hyper-V Linux Web Server over the Internet

I'm trying to access a VM Linux Web Server from Internet but as response I get the server's internal IP.
Infra:
Physical PC: Windows 8 running on IP x.x.x.10 (internal) and y.y.y.y (external/internet)
Virtual Server: Debian 7.3 + Apache2, running on a Hyper-V machine, IP x.x.x.11
Router: D-Link DMG-6661 with 'Applications' and 'Virtual Server' set on both :80 and :7080, pointing to x.x.x.11
Inside my network everything works fine, I'm able to access my web page using both x.x.x.11:80 and x.x.x.11:7080.
Outside my network, lets say at work, if I try to access y.y.y.y:80 or :7080 I get ERR_NETWORK_ACCESS_DENIED and the address on my browser changes to x.x.x.11!
What am I missing here?
Thanks.
So difficult to answer you without precisions... Please check all network segments and software/hardware components ( linking your web browser at work to your Apache server). Lot's of thing may drop your connection. Think about these questions:
Does your router allow incoming connections from the Internet ? Is it configured to NAT/PAT incoming traffic to your Web server at x.x.x.11:80 ?
Does your Linux VM allow connections from other network than your LAN (netfilter/iptables configuration ?).
Does your Apache is configured to accept incoming traffic from any IP addresses ?
Regards

Resources