0

I had deployed an ASP.NET project.

It works well in localhost and domain name, but raise an error while accessed through site public IP.

http://wildanmuhlis.com:9000/traders work well on domain name

http://45.127.134.46:9000/traders error when accessed via public IP

IIS Binding Configuration: enter image description here

Notes: The IIS forwarded to VPS hosting through SSH Tunnel.

Wildan Muhlis
  • 1,553
  • 2
  • 22
  • 43
  • in the IIS binding setting, you need to add the server ip adress which is `45.127.134.46` in your case to the same row of `wildanmuhlis.com:9000`, or you can use the local ip adress, https://www.sherweb.com/blog/cloud-server/how-to-set-up-site-bindings-in-internet-information-services-iis/ – Mobrine Hayde May 11 '19 at 23:54
  • @MobrineHayde, I had assigned the IP as your suggestion. still `Invalid Hostname` – Wildan Muhlis May 12 '19 at 00:06
  • I think there is a solution for your problem here: https://stackoverflow.com/questions/14029629/iis-cant-access-page-by-ip-address-instead-of-localhost – Mobrine Hayde May 12 '19 at 00:27
  • https://docs.jexusmanager.com/tutorials/binding-diagnostics.html You use a wrong binding at port 9000, so 400 is expected. If you never know enough about site bindings, please do more experiments to learn the concepts, or let the diagnostics report lead you. – Lex Li May 12 '19 at 02:13

1 Answers1

0

make sure there is no Firewall or ips on your network that block the acess & check the .htacess file & the port forwarding

chnz2k
  • 82
  • 5
  • well u had to check if your isp dosent block inbound traffic , or maybe your rrouter , check your ports states . – chnz2k May 12 '19 at 09:41