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.


imanewbe

22 posts

Geek


#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
freitasm
BDFL - Memuneh
80646 posts

Uber Geek
+1 received by user: 41025

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #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.




Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 




boby55
1539 posts

Uber Geek
+1 received by user: 38

Trusted

  #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

imanewbe

22 posts

Geek


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

My Firewall is off completely.



imanewbe

22 posts

Geek


  #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

sbiddle
30853 posts

Uber Geek
+1 received by user: 9996

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #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.

imanewbe

22 posts

Geek


  #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?

 
 
 
 

Shop now for Dell laptops and other devices (affiliate link).
Spyware
3817 posts

Uber Geek
+1 received by user: 1366

Lifetime subscriber

  #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.




Spark Max Fibre using Mikrotik CCR1009-8G-1S-1S+, CRS125-24G-1S, Unifi UAP, U6-Pro, UAP-AC-M-Pro, Apple TV 4K (2022), Apple TV 4K (2017), iPad Air 1st gen, iPad Air 4th gen, iPhone 13, SkyNZ3151 (the white box). If it doesn't move then it's data cabled.


imanewbe

22 posts

Geek


  #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"

imanewbe

22 posts

Geek


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

I mean 10.1.1.3

bazzer
3438 posts

Uber Geek
+1 received by user: 267

Trusted

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

Anything in the logs?

imanewbe

22 posts

Geek


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

How do i check them?

 
 
 

Stream your favourite shows now on Apple TV (affiliate link).
freitasm
BDFL - Memuneh
80646 posts

Uber Geek
+1 received by user: 41025

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #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.





Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


bazzer
3438 posts

Uber Geek
+1 received by user: 267

Trusted

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

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

Ragnor
8279 posts

Uber Geek
+1 received by user: 585

Trusted

  #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.




imanewbe

22 posts

Geek


  #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








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.