Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




22 posts

Geek


Topic # 54573 18-Dec-2009 12:08
Send private message

Hi.
I am running windows 7. I am using iis for the webserver

I have a webserver on my home pc which i can access from localhost and 127.0.0.1. I am unable to access it from any other computers on my internal home network or outside it.

I have been to dyndns.com and set up a dynamic ip. I can reach my router but not my webserver from the url dyndns gave me.

Any ideas?

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2 | 3
BDFL - Memuneh
59413 posts

Uber Geek
+1 received by user: 10624

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 283714 18-Dec-2009 12:13
Send private message

It sounds like your firewall is preventing access to the server. Check the firewall configuration to accept incoming connections on port 80.




1539 posts

Uber Geek
+1 received by user: 39

Trusted

  Reply # 283716 18-Dec-2009 12:18
Send private message

Your Firewall may be blocking it,

Either allow IIS in your firewall or port 80


To access it externally you will need to forward port 80 on your router to direct it to your local pc

 
 
 
 




22 posts

Geek


  Reply # 283717 18-Dec-2009 12:20
Send private message

My Firewall is off completely.



22 posts

Geek


  Reply # 283718 18-Dec-2009 12:22
Send private message

I tried setting up portforward but had trouble figuring out exactly how to do it. I have been to http://portforward.com/ but am still comfused. The router i have is DSL-G604T wireless ADSL Router

25825 posts

Uber Geek
+1 received by user: 5553

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  Reply # 283721 18-Dec-2009 12:31
Send private message

If the firewall on the Windows7 PC is disabled and you still can't connect to that machine from within your local LAN I'd focus on that issue first before you look at your router.



22 posts

Geek


  Reply # 283724 18-Dec-2009 12:41
Send private message

How would i go about trying to connect to the webserver from other computers on my local LAN?

1801 posts

Uber Geek
+1 received by user: 264

Subscriber

  Reply # 283725 18-Dec-2009 12:50
Send private message

How do you think?? Use the IP address (give it a static address) of the machine is what most people do.




Ross

 

Spark FibreMAX using Mikrotik CCR1009-8G-1S-1S+

 


Speed Test




22 posts

Geek


  Reply # 283726 18-Dec-2009 12:54
Send private message

I have a static ip address. 10.1.1.1. When i go to it from a web browser it comes up with "cannot display the webpage"



22 posts

Geek


  Reply # 283727 18-Dec-2009 12:54
Send private message

I mean 10.1.1.3

3252 posts

Uber Geek
+1 received by user: 207

Trusted

  Reply # 283730 18-Dec-2009 13:04
Send private message

Anything in the logs?



22 posts

Geek


  Reply # 283732 18-Dec-2009 13:06
Send private message

How do i check them?

BDFL - Memuneh
59413 posts

Uber Geek
+1 received by user: 10624

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 283739 18-Dec-2009 13:16
Send private message

Ok, I think you might not have a IIS problem at all. Your first post you say "am unable to access it from any other computers on my internal home network" then later you ask how to access from inside your network.

Basics: your server is on port 80. It uses HTTP so you need to first make sure it works on your PC - which you've done.

Now open a browser on another PC and go to http://[IPaddress of your server]. If nothing comes up there may be some reasons:

- your PC has a software firewall that is blocking it;
- you are using the wrong IP address;
- you are running a virtual domain on IIS, which means on your browser you have to enter a domain name, in which case you either change it to be default domain, or on your client PC you open the hosts file (\windows\system32\drivers\etc\hosts) and add an entry pointing the domain to that IP address - then try again using http://[domain] instead;

The logs will be by default on \inetpub\logs.





3252 posts

Uber Geek
+1 received by user: 207

Trusted

  Reply # 283740 18-Dec-2009 13:16
Send private message

http://lmgtfy.com/?q=iis+logs

8020 posts

Uber Geek
+1 received by user: 386

Trusted
Subscriber

  Reply # 283744 18-Dec-2009 13:24
Send private message

imanewbe:
I can reach my router but not my webserver from the url dyndns gave me.
Any ideas?


This is because not all routers support "local loop back" for external addresses pointing at internal servers.  It might be an option in your router, depends on the make/model.

Alternatively you can just add a hosts file entry for the address that points at the lan ip for the web server on your machine on your other local machines.






22 posts

Geek


  Reply # 283747 18-Dec-2009 13:25
Send private message

OK. I have opened up the hosts file. It has this in it:

# 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
# ::1 localhost

what do you mean by domain? Im a bit of a noob sorry. Is it like my computer name.

 1 | 2 | 3
View this topic in a long page with up to 500 replies per page Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

New Zealand hits peak broadband data
Posted 18-Jan-2018 12:21


Amazon Echo devices coming to New Zealand early February 2018
Posted 18-Jan-2018 10:53


$3.74 million for new electric vehicles in New Zealand
Posted 17-Jan-2018 11:27


Nova 2i: Value, not excitement from Huawei
Posted 17-Jan-2018 09:02


Less news in Facebook News Feed revamp
Posted 15-Jan-2018 13:15


Australian Government contract awarded to Datacom Connect
Posted 11-Jan-2018 08:37


Why New Zealand needs a chief technology officer
Posted 6-Jan-2018 13:59


Amazon release Silk Browser and Firefox for Fire TV
Posted 21-Dec-2017 13:42


New Chief Technology Officer role created
Posted 19-Dec-2017 22:18


All I want for Christmas is a new EV
Posted 19-Dec-2017 19:54


How clever is this: AI will create 2.3 million jobs by 2020
Posted 19-Dec-2017 19:52


NOW to deploy SD-WAN to regional councils
Posted 19-Dec-2017 19:46


Mobile market competition issues ComCom should watch
Posted 18-Dec-2017 10:52


New Zealand government to create digital advisory group
Posted 16-Dec-2017 08:47


Australia datum changes means whole country moving 1.8 metres north-east
Posted 16-Dec-2017 08:39



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.