My IIS website is not working on IP address - web

I created an IIS website and bound it to both the localhost and my IP.
On localhost, It works fine but I cannot access it from my IP address.
I also tried if there was some problem with port and I found the port 139 working so i binded it to that but still problem continues.
Also, I use mobile hotspot for accessing internet.

Related

NodeJS works only on my network

I have my nodejs server app running on my windows 10 machine which uses my home internet connection.
When I am connected with my phone to my home internet and write the IPv4 Address and port I get a response and my web page loads, but when I use a different internet connection it doesn't load.
I turned off the firewall, tried a lot of different ports but nothing worked.
I tried app.listen(8000) or app.listen(8000, "0.0.0.0") but both didnt fix the problem.
Any ideas what might be the problem?
OK I found out how to do this, my port forwarding was not configured correctly.
Here is how I solved it in case someone has the same problem:
Connected to my router (in cmd write ipconfig, copy the Default Gateway ip and paste in browser).
Clicked port forwarding (each router have it in different place), set external IP to 0.0.0.0 and my app port, and set internal ip to my computer ip (you can just write "what is my ip" in google) and same app port.
I hope it will help someone.

How to visit a url in internal network?

My laptop is serving a web page at 127.0.0.3/abc, and I can visit it using this url on my laptop. Now my mobile phone and my laptop are using same wifi network. I can check the internal IP for my phone and my laptop. So my laptop's internal IP is 10.1.11.140, I'm wondering how I can visit the abc page with my phone. I tried 10.1.11.140/abc and 10.1.11.140/127.0.0.3/abc, neither works.
Thanks!
You need to verify
That your web server is bound to the external IP (10.1.111.140)
That your firewall permits access to port 80 (or whatever port you are serving your webpage)
You should assign your laptop a static ip address. Do this on your wireless router. Enable the firewall for this static ip and configure your webserver (website binding) by running inetmgr. And.. this address should not start with 127...

Covert home pc to web server steps

I want to convert my home pc to a web server. Already IIS8 has been installed. The sample page has been published on default web site. In windows firewall the port 80 has been opened. I have access to this page through different computers that connect to the same ADSL router. However, when I try to connect to the page from another ISP, I get the error of 'web page not find'. Because I don't have static IP now, I find IP of the server from http://www.whatismyip.com/. I wonder if anybody help my to solve this issue.
One workaround it to use no-ip
http://www.noip.com/
this would give you static IP.
From this point is just normal domain setup.

Port forward not working to set a local web server

I have just created a simple web server using node server and it's running fine. I can access it from the same PC by going to address http://127.0.0.1:1337.
Now I want to access that web server from my WAN IP. I got my my using whatismyip and got something like 110.36.xxx.xxx.
When I tried http://110.36.xxx.xxx:1337, I got:
Firefox can't establish a connection to the server at 110.36.xxx.xxx:1337.
Here is the screenshot how I created the port forwarding in my router:
What's wrong here?
Localhost is only accessible from the same pc. You have to launch your webserver either on address 0.0.0.0 (it will be available on all network interfaces) or 192.186.0.5 so that it is accessible from your wan interface

IIS 7.5: Can browse website from LAN but not from outside

I have an MVC4 website set up in IIS 7.5. When I browse the website using my computer's IP address from a computer within my network, it works. But the website does not load when accessed from outside of the network.
I have a router and set up port forwarding on port 80 (also tried with others but I'll stick with this for the question), to forward to my PC's IP address. Also allowed incoming TCP requests on port 80 in my firewall.
In IIS 7.5 I am using the default website with the default bindings, which include a binding for port 80, all unassigned IP addresses and no hostname.
Locally I can browse my website using this address:
Local PC IP -xxx.xxx.x.xxx/LBSPrototype1
Shouldn't I be able to access my website from outside of the network using:
Router IP - xxx.xxx.x.x/LBSPrototype1
Since I forwarded port 80 to my local PC? Or alternatively if I use a different port:
Router IP - xxx.xxx.x.x:PORT/LBSPrototype1
I don't know what I am doing wrong, any ideas as to what I might have left out?
Tried disabling your firewall ? maybe some firewall rules are blocking you

Resources