Unable to access my .net website from internet - azure

I am new to networking and routing.
I have hosted my website (enabled https) in azure vm having firewall settings. Have opened the ports for the websites.
But still unable to access my website from internet.
I have 2 sites running. the main website which is running on port 443. To access this site , it is directed to openid oauth2 identity site running on port 44300. Both the ports are opened. The site is running perfect when i access from the hosted server and also other servers.
I am trying to access this main site from my home internet. It is not working.I want to access this site from internet as well.
additional info:
Main website hosted in server which is connected to internet with a Connection which has got a IPv4 Default Gateway - eg; A
My own pc connected to internet with a different connection with different IPv4 Default Gateway.
With this above setup, it is possible to achieve my requirement?
Can anyone help what has to be done to access my website from outside world?
Thanks

Related

Can't connect to localhost on my application server but can access it via web

I have a website which is accessible via its URL but strangely i cannot connect to it via localhost on the server itself.
I have ensured that "127.0.0.1 localhost" is in my hosts file
I have checked that no other application is using port 80
I've ticked "Bypass Proxy Server for local addresses"
Pinging my local host from command line returns data When you go to the domain host URL the application loads successfully
Good news is my site is fully functioning but i just cannot figure out how to connect to it on localhost in my browser! any ideas?
Added details as requested;
Its a website not app if that was misleading.
The webserver is IIS on an Amazon EC2 windows instance.
The root URL is just a simple html page, which i can access via the domain URL.
However when i RDP onto the Server itself and try to access the localhost, it continually blocks me, the page wont load.
It is possible that your application is only listening on external IP address. To bind your application on all IP address, you may make your application listen on 0.0.0.0.
And could you please show the related code to help locating the problem?

IIS legacy Web app through firewall only visible in Salesforce

We have a legacy app that is hosted on an IIS7 web server on our LAN. I'd like to embed it in our Salesforce org so that remote employees can access it without using VPN as some of the customer sites they work at do not allow the ports the VPN requires. If I use an iframe is there a way in IIS to limit the requesting "source" to a specific URL? I don't want the app accessible anywhere but, from within Salesforce.
I mistakenly tried limiting the firewall pass through/NAT rule to only allow SF IP addresses but, in that case the requesting source is actually the IP of the client not SF so that doesn't work.

Making my windows 10 IIS server as a hosting server, test purpose

I have a REAL IP. XXX.XXX.XX.XXX, with that, i have DNS, Subnetmask, gateway and secondary dns from my ISP provider.
I have connected my PC (windows 10) with that setting in TCP/IP v4. And network is fine for outgoing.
Now I build a simple html web site and created a site in IIS 10. in Binding, I used the REAL IP, with port 80. From that pc, after hitting the IP Address, I am getting into the site. But from outside the network, via internet, If I hit the IP, nothing comes except Problem loading page with respond timeout.
How can I access the IP from outside internet?

How to route http request when under VPN

I have a laptop running Windows 8.1.
I have IIS up and running. I have Web Services there.
To use my company's resources, I should connect to it's VPN. I need this VPN access, so my Web Services can connect to database using Windows Authentication. However, VPN was used (even if connected) only for those resources. So, when I was browsing stuff in Internet, sites saw my real ISP's IP and not VPN's.
Starting from today this was changed. Now, if I'm under VPN, I have company's IP and I can't access my laptop from anywhere. Previously, I could access it using my real IP.
I asked admin, what happed. The answer -
Split tunneling when on VPN has been disabled in response to US
Federal Government requirements.
So, everything is working, except access from outside to my local IIS.
Is there any way, I can put some local (on my laptop maybe) routing, so external can access my laptop?

iis 8 website not opening

I have create new web site in IIS 8. I have configured my web site like this
http://ip:8080/
When I browse it from any public network it is not opening. But If I open is locally it works fine. http://localhost:8080 it is working fine. What I tried I stop all other sites, Default Web site and assign 80 port to my site then it is working fine in locally as well as publically. I don't know what is the issue.
Clearly you have a firewall or other network routing issue. Check all configured firewalls on your server/housing machine, as well as along your network path (router, or other perimeter network devices)
Also if trying to connect through your internet side IP you will want to check any port forward rules on your router (If behind NAT, like most connections are)
My problem is solved. I have opened a 8080 port on Azure management portal. And on VM I have create new rule which points to this port.

Resources