iis - How to connect to a computer not the modem using internet IP address? -
i configured iis in windows 7, , when enter 'http://localhost' in address bar; can see web site. now, when want see web site entering internet ip address in address bar, connect adsl modem (it opens page use configure modem!).
it seems because modem connects internet gets ip, not pc, internet ip connects me modem. so, think, must change settings of modem.
i use d-link modem.
how can fix that?
thanks in advance
unless have "server" or "business" configuration isp provides full subnet of public ip addresses, you've been allocated single external ip address , router attached network address translation devices connected behind it. can confirm using ipconfig
or windows settings (ifconfig
on unix-like machines) ip address. if using nat, start "10.", "172.16." through "172.31.", or "192.168.". these "private" addresses , cannot reached through public internet.
for on public internet reach computer, need set port forwarding redirects incoming traffic on public, external ip port machine on private network. configuration pages router have configuration somewhere.
note if router's configuration page running on port #80 , want outside viewers connect without giving explicit port number, need turn off or restrict modem configuration, move port, or go ssl (port 443) not cause conflict port you're forwarding.
d-link common brand of router , there pages dedicated configuring port forwarding on them.
also, complicate things, haven't been given static ip address (they quite expensive) means external ip address will change time time (perhaps yearly, perhaps daily) making difficult tell others how connect page. router configuration has support dynamic dns (some free, paid) router automatically updates dns entry whenever public ip address changes.
Comments
Post a Comment