Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to connect my apache server from another computer. But I cannot.

  • My windows firewall is disabled.
  • Other computer's firewall is disabled.
  • My local ip address is 192.168.1.55
  • Port is 80 of course.
  • Both computer are windows.
  • No antivirus softwares in both computers.

What can I do now? What is the problem?

share|improve this question

migrated from serverfault.com Oct 5 '12 at 22:27

This question came from our site for system and network administrators.

2  
But I cannot. - You need to tell us: what happens when you try?. Saying "but I cannot" can mean anything from it not working due to the reasons mentioned in Steve's superb answer below all the way through to the computer catching fire and exploding or aliens stealing your network cable. –  RobM Oct 3 '12 at 10:32
1  
I'm going to go with copper-thieving extra-terrestrials. –  Alex Berry Oct 3 '12 at 10:54
    
Since I was trying to connect to PC from Samsung Smart TV wireless, there is nothing happens when I try :) –  Enes Unal Oct 3 '12 at 11:11

1 Answer 1

up vote 3 down vote accepted

Firstly, lets make sure we actually have connectivity to the other machine.

From a command prompt do a ping to the other machine. (ping xx.xx.xx.xx) hopefully you should see a response.

If you don't we need to check a couple of things.

Firstly ensure the subnet mask of the two machines are correct, if they are on the same subnet, then the subnet masks should be the same, if they are on a different subnet, then make sure they both have valid gateways.

If that all checks out, then i suppose we should check to ensure apache is actually running on the second machine, this can be done either through the apache control panel that normally sits in the taskbar by the clock, or via services in administrators tools in control panel.

One thing of note, that has tripped me up in the past, if Skype is running on the same machine as apache, apache wont be able to bind to port 80.

ADDED :

I would also suggest you check your apache configuration to ensure it allows connections from servers other than localhost, if it's a development instance such as XAMPP it will be configured by default to only work locally, though this is easily changed.

share|improve this answer
3  
All good diagnostic checks, I would also suggest you check your apache configuration to ensure it allows connections from servers other than localhost, if it's a development instance such as XAMPP it will be configured by default to only work locally, though this is easily changed. –  Alex Berry Oct 3 '12 at 10:03
    
Alex Berry, thanks I knew there was something like that but my google foo was weak :D –  Steve Oct 3 '12 at 10:05
    
@Alex Berry, your suggestion worked. From Apache configuration, I change all Deny's with Allow's :) Thank you. –  Enes Unal Oct 3 '12 at 10:56
    
@AlexBerry This acceptance should be yours really... –  Steve Oct 3 '12 at 11:04
    
@Steve No worries, you need the points :p though upvoting my comments would be good. –  Alex Berry Oct 3 '12 at 11:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.