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.


kiwis

832 posts

Ultimate Geek


#67888 10-Sep-2010 08:35
Send private message

I've got Windowsa 7 Ultimate and I've downloaded WampServer and have everything working via http://localhost

I want have put a .htaccess file in the www folder to block access but I want to point my IP to this address so I can view it at a firend places etc as this is our test website.

I've got a NetComm NB6Plus4Wn and have done some port fowarding but I can not get my site up. I've done this before in XP and had no problem with it.

I guess it's some type of Win 7 firewall but I've turned that off and still nothing, there is something about stealth mode but i can't disable that.

What is wrong please!!!!!!

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

Uber Geek

Trusted

  #378507 10-Sep-2010 10:30
Send private message

Can you post a screenshot of the port forwarding rule you setup in the router?

Also can check you get to the website on PC1 from another computer eg PC2 on your network at home via the lan ip address?



kiwis

832 posts

Ultimate Geek


  #378509 10-Sep-2010 10:34
Send private message



kiwis

832 posts

Ultimate Geek


  #378510 10-Sep-2010 10:37
Send private message

And no I can't not dial the IP of my machine inside my LAN from another PC. I also can't call localhost from another machine that is connect to the same router.



Ragnor
8223 posts

Uber Geek

Trusted

  #378531 10-Sep-2010 11:53
Send private message

In that screenshot you have the external port as for the rule as 8064

Just to check...

To access the website from your friends place you need to use the external ip address assigned to your router via your isp + the port number

eg:
http://external-ip-address-goes-here:8064/

* You can find out the external address from the router admin ui for wan ip address or from http://www.whatsmyip.org/

To access the webserver from another PC at your place on you local network you need to use

http://192.168.1.2/

Is that what you've been trying?

kiwis

832 posts

Ultimate Geek


  #378547 10-Sep-2010 12:26
Send private message

yes and my mates place i'm trying to external IP - i should be able to access this from home as well though right?

And yes from my other lap top in the lounge i'm trying 192.168.1.2 and i've checked my local ip is .2


timbosan
2160 posts

Uber Geek


  #378578 10-Sep-2010 14:34
Send private message

I think you should attack this as two problems:

1) Getting access to the machine from inside you LAN on port 8064 / 80 / etc
2) Getting external access to your LAN / PC

You say you cannot access the machine in question from another on your network, have you tried to PING it?

PING 192.268.1.2

If this works, then try to TELNET to the HTTP port on the target machine

TELENET 192.168.1.2 80

This will either sit there an do nothing, which means it doesn work, or change immediatley to a blank screen, which means it works (close the window to get out).

Can you post the results please?


(EDIT: fixed port number to 80 in TELNET)

kiwis

832 posts

Ultimate Geek


  #378586 10-Sep-2010 14:55
Send private message

Ping 192.168.1.2 results from my second PC

_____________
C:\Users\john>ping 192.168.1.2

Pinging 192.168.1.2 with 32 bytes of data:
Reply from 192.168.1.2: bytes=32 time=6ms TTL=128
Reply from 192.168.1.2: bytes=32 time=1ms TTL=128
Reply from 192.168.1.2: bytes=32 time=1ms TTL=128
Reply from 192.168.1.2: bytes=32 time=1ms TTL=128

Ping statistics for 192.168.1.2:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 6ms, Average = 2ms

---------------------

Do i do telenet in cmd as well? i've never used that before?

C:\Users\john>telenet 192.168.1.2 80
'telenet' is not recognized as an internal or external command,
operable program or batch file.

 
 
 

Trade NZ and US shares and funds with Sharesies (affiliate link).
timbosan
2160 posts

Uber Geek


  #378587 10-Sep-2010 14:58
Send private message

Yes, TELNET from cmd as well, however don't type what I typed, since its wrong!

I meant TELNET, not TELENET (no E in the middle) sorry!


kiwis

832 posts

Ultimate Geek


  #378588 10-Sep-2010 15:03
Send private message

Neither my XP machine of Win 7 machine allows telnet 192.168.1.2 it says

'TELNET' is not recognized as an
operable program or batch file.

Do I enter it as

C:\Users\Grant>TELNET 192.168.1.1 80

kiwis

832 posts

Ultimate Geek


  #378589 10-Sep-2010 15:03
Send private message

Hold I did Pint telnet and got this

C:\Users\Grant>ping telnet 192.168.1.2 80
Ping request could not find host telnet. Please check the name and try again.

meesham
973 posts

Ultimate Geek


  #378591 10-Sep-2010 15:07
Send private message

Two things to try:
1) Make sure Apache (the webserver) is listening on all addresses by trying to load http://192.168.1.2 on your development machine (instead of using localhost). If it's not working you'll need to edit your Apache config (there should be a link in the start menu), do a search for "Listen" and make sure it's set to "Listen 80" (without the quotes). After you make this change restart the Apache service

2) Turn off your firewall on your workstation to make sure that's not blocking it, "Control Panel" -> "System and Security" -> "Turn Windows Firewall on or off". Once it's turned off try accessing it within your network by using the 192.168.1.2 address

timbosan
2160 posts

Uber Geek


  #378592 10-Sep-2010 15:08
Send private message

Strange, TELNET should work from almost any Windows PC.

Your PING command was right the first time, (PING 192.168.1.2).

But that's OK, we can still move on.

Since you can ping the machine we know the connection between them works, we just need to sort out the web part.  When you try in IE (or Firefox etc, doesn't matter) to go to:

HTTP://192.168.1.2

What do you get?

If you use the other machine (the one which has the IP address 192.168.1.2) can you open a web browser and go to:

HTTP://localhost

If this doesn't work then I would guess IIS is not installed.

meesham
973 posts

Ultimate Geek


  #378594 10-Sep-2010 15:15
Send private message

timbosan:
If this doesn't work then I would guess IIS is not installed.


Wampserver installs the Windows version of Apache. If he can access the site using "localhost" then it's definitely sitting there listening.

timbosan
2160 posts

Uber Geek


  #378596 10-Sep-2010 15:19
Send private message

meesham:
timbosan:
If this doesn't work then I would guess IIS is not installed.


Wampserver installs the Windows version of Apache. If he can access the site using "localhost" then it's definitely sitting there listening.


Thanks for that 'meesham', I didn't know about Apache - do you know if it changes the default port of IIS if that's already installed?  Or sets a different default port than 80 for itself?

kiwis

832 posts

Ultimate Geek


  #378597 10-Sep-2010 15:22
Send private message

Okay thanks for helping. I just did a few things

Apache Config is listening to Port 80, I just checked that and didn't need to change anything as port 80 is the default.

I turned off the firewall (quickly) and went to John's computer. localhost didn't work but 192.1681.2 allowed me to access the www folder within wamp server (the correct place).

So where to from here?

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





News and reviews »

Gen Threat Report Reveals Rise in Crypto, Sextortion and Tech Support Scams
Posted 7-Aug-2025 13:09


Logitech G and McLaren Racing Sign New, Expanded Multi-Year Partnership
Posted 7-Aug-2025 13:00


A Third of New Zealanders Fall for Online Scams Says Trend Micro
Posted 7-Aug-2025 12:43


OPPO Releases Its Most Stylish and Compact Smartwatch Yet, the Watch X2 Mini.
Posted 7-Aug-2025 12:37


Epson Launches New High-End EH-LS9000B Home Theatre Laser Projector
Posted 7-Aug-2025 12:34


Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01









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.