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
59058 posts

Uber Geek
+1 received by user: 10340

Administrator
Trusted
Geekzone
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

25581 posts

Uber Geek
+1 received by user: 5360

Moderator
Trusted
Biddle Corp
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?

1775 posts

Uber Geek
+1 received by user: 253

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

3251 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
59058 posts

Uber Geek
+1 received by user: 10340

Administrator
Trusted
Geekzone
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.





3251 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 »

Netatmo launches smart home products in New Zealand
Posted 20-Nov-2017 20:06


Huawei Mate 10: Punchy, long battery life, artificial intelligence
Posted 20-Nov-2017 16:30


Propel launch Disney Star Wars Laser Battle Drones
Posted 19-Nov-2017 21:26


UFB killer app: Speed
Posted 17-Nov-2017 17:01


The case for RSS — MacSparky
Posted 13-Nov-2017 14:35


WordPress and Indieweb: Take control of your online presence — 6:30 GridAKL Nov 30
Posted 11-Nov-2017 13:43


Chorus reveals technology upgrade for schools, students
Posted 10-Nov-2017 10:28


Vodafone says Internet of Things (IoT) crucial for digital transformation
Posted 10-Nov-2017 10:06


Police and Facebook launch AMBER Alerts system in NZ
Posted 9-Nov-2017 10:49


Amazon debuts Fire TV Stick Basic Edition in over 100 new countries
Posted 8-Nov-2017 05:34


Vodafone VoIP transition to start this month
Posted 7-Nov-2017 12:33


Spark enhances IoT network capability
Posted 7-Nov-2017 11:33


Vocus NZ sale and broadband competition
Posted 6-Nov-2017 14:36


Hawaiki reaches key milestone in landmark deep-sea fibre project
Posted 4-Nov-2017 13:53


Countdown launches new proximity online shopping app
Posted 4-Nov-2017 13:50



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.