samedi 29 septembre 2018

IIS site accessible using hostname, not accessible by ip

all works when ran like this: site.com/resource

but this: 192.168.1.14/resource

doesn't. here are the bindings & hosts file & ip listen list:

bindings: enter image description here

hosts file:

    # Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
192.168.1.14 www.site.com
192.168.1.14 site.com
#   ::1             localhost

ip listen list: (although i think this is negligible) 192.168.1.14

firewall turned down.

anyone can help with this?

thanks ahead




Aucun commentaire:

Enregistrer un commentaire