You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Albert Joseph <al...@live.com> on 2008/11/22 23:01:38 UTC
[users@httpd] How to connect from a remote machine
Hi all,
I have a very basic question since I am very new to the Web server world.
I have recently installed Apache HTTP server. I am running a stand-alone (not part of any network) machine on Windows 2000 Professional. When I was installing the server, I was asked for the domain and server names and I didn't know what to answer, so I put "localhost", which turned out to be a good guess. So, I am using http://localhost/ to connect to the Apache HTTP server. Now, I need to connect to the server from a remote machine. What http address should I use ?
Thank you
_________________________________________________________________
Color coding for safety: Windows Live Hotmail alerts you to suspicious email.
http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_safety_112008
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to connect from a remote machine
Posted by Morgan Gangwere <0....@gmail.com>.
Brian Mearns wrote:
> FYI, I've taken this thread off the list with Albert, since it's no
> longer related to Apache. If it comes back to server configuration, It
> will rejoin the mailing list.
Understood.
On another topic, slightly related you do NOT have to get a static ip.
Services like DynDNS are available for this purpose.
Read up on my little DynDNS updater (i run it from a Cronjob every hour)
: http://sonof.bandit.name/ddns.php
All you have to understand is that if you arent going through a router
you've go problems. Cable modems from places like Comcast usually are
not real routers, just bridges from Coax and a NAT behind it.
Occasionally there's a DHCP server bit thats it.
--
Morgan Gangwere
Unknown Software
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to connect from a remote machine
Posted by Brian Mearns <bm...@ieee.org>.
FYI, I've taken this thread off the list with Albert, since it's no
longer related to Apache. If it comes back to server configuration, It
will rejoin the mailing list.
-Brian
On Mon, Nov 24, 2008 at 12:37 PM, Evan Platt <ev...@espphotography.com> wrote:
> That doesn't mean anything. Most sensible firewalls nowdays block pings.
>
> Albert Joseph wrote:
>>
>> Brian Mearns,
>>
>> I think there is something wrong in the IP address I am using. I asked my
>> friend to ping the IP address I got from www.whatismyip.com, he couldn't get
>> replys. Then I asked him to use www.whatismyip.com to get his IP and I used
>> it to ping his machine, and I couldn't get any replys either. He is using
>> Windows XP and I am using Windows 2000. We both work from residential
>> connections.
>>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--
Feel free to contact me using PGP Encryption:
Key Id: 0x3AA70848
Available from: https://keyserver.pgp.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to connect from a remote machine
Posted by Evan Platt <ev...@espphotography.com>.
That doesn't mean anything. Most sensible firewalls nowdays block pings.
Albert Joseph wrote:
> Brian Mearns,
>
> I think there is something wrong in the IP address I am using. I asked my friend to ping the IP address I got from www.whatismyip.com, he couldn't get replys. Then I asked him to use www.whatismyip.com to get his IP and I used it to ping his machine, and I couldn't get any replys either. He is using Windows XP and I am using Windows 2000. We both work from residential connections.
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] How to connect from a remote machine
Posted by Albert Joseph <al...@live.com>.
Brian Mearns,
I think there is something wrong in the IP address I am using. I asked my friend to ping the IP address I got from www.whatismyip.com, he couldn't get replys. Then I asked him to use www.whatismyip.com to get his IP and I used it to ping his machine, and I couldn't get any replys either. He is using Windows XP and I am using Windows 2000. We both work from residential connections.
Thank you
_________________________________________________________________
Proud to be a PC? Show the world. Download the “I’m a PC” Messenger themepack now.
hthttp://clk.atdmt.com/MRT/go/119642558/direct/01/
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to connect from a remote machine
Posted by Brian Mearns <bm...@ieee.org>.
You said you don't have a router, correct? So there's no port
forwarding you can do. However, there's a very good chance that your
ISP is blocking port 80.
To start with, have your friend open a command prompt and try to ping
your machine: simply type the command ping, followed by a space and
your IP address and hit enter. If it works (it gets replys back), then
that's a good start, however it tells you nothing about port 80. If it
doesn't work, it could just mean your system is set up to not accept
ICMP echo requests, or it could mean that there's something more
fundamentally wrong with your connection to the Internet (like it's
not there).
If that works, you can try to get around port 80: Edit your httpd.conf
file, find the Listen directive, and if there's a :80 anywhere in it,
change it to something like :81. If there's not a :80 in it, then
append a :81 to whatever it currently says. Now have your friend try
to connect to your web site again, but this time, have them add :81 to
the end of your IP address. If they are able to connect now, then it
probably means your ISP is blocking port 80, which is not uncommon.
There's really no way that I know of to get around this, other than
using a different port (like 81, described here), or begging your case
to your ISP, which is not likely to help.
Note that a lot of networks, like schools and offices, only allow
connections on standard ports, which means if your friend is trying to
connect from one of these places, he may not be able to get through on
port 81. Your best chance is to try from a residential connection.
Another common port to use is 8080, which is somewhat more likely than
81 to be blocked, but will improve the chances that your visitors will
be able to connect on it.
Hope that helps, let us know how it goes.
-Brian
On Mon, Nov 24, 2008 at 1:06 AM, Albert Joseph <al...@live.com> wrote:
>
> Steve Reilly,
>
> Thank you. I am reading http://portforward.com/routers.htm which has much information that I hope will lead to a solution. This might take sometime from me though, since I found that I have to obtain a static IP first.
>
> Thanks again.
>
> _________________________________________________________________
> Proud to be a PC? Show the world. Download the "I'm a PC" Messenger themepack now.
> hthttp://clk.atdmt.com/MRT/go/119642558/direct/01/
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--
Feel free to contact me using PGP Encryption:
Key Id: 0x3AA70848
Available from: https://keyserver.pgp.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to connect from a remote machine
Posted by Morgan Gangwere <0....@gmail.com>.
steve wrote:
> hi, no problem. depending on what your going to use the server for you
> may not need a static ip. my isp STARTS at $299 month!!! for a
> "business plan" that provides static ip's, you cant get them without a
> business plan, yeah tw sucks. anyway, my ip has changed once in 10
> years, whether im lucky or not i dont know, but look into dyndns.com. i
> hear they have a nice service that monitors your external ip for you.
>
See my post on DynDNS.
--
Morgan Gangwere
Unknown Software
"The internet isnt just something you dump stuff on... its a series of
tubes!"
-- Senator Ted Stevens
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to connect from a remote machine
Posted by steve <sf...@roadrunner.com>.
Albert Joseph wrote:
> Steve Reilly,
>
> Thank you. I am reading http://portforward.com/routers.htm which has much information that I hope will lead to a solution. This might take sometime from me though, since I found that I have to obtain a static IP first.
>
> Thanks again.
>
> _________________________________________________________________
> Proud to be a PC? Show the world. Download the “I’m a PC” Messenger themepack now.
> hthttp://clk.atdmt.com/MRT/go/119642558/direct/01/
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
hi, no problem. depending on what your going to use the server for you
may not need a static ip. my isp STARTS at $299 month!!! for a
"business plan" that provides static ip's, you cant get them without a
business plan, yeah tw sucks. anyway, my ip has changed once in 10
years, whether im lucky or not i dont know, but look into dyndns.com. i
hear they have a nice service that monitors your external ip for you.
--
Steve Reilly
http://reillyblog.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] How to connect from a remote machine
Posted by Albert Joseph <al...@live.com>.
Steve Reilly,
Thank you. I am reading http://portforward.com/routers.htm which has much information that I hope will lead to a solution. This might take sometime from me though, since I found that I have to obtain a static IP first.
Thanks again.
_________________________________________________________________
Proud to be a PC? Show the world. Download the “I’m a PC” Messenger themepack now.
hthttp://clk.atdmt.com/MRT/go/119642558/direct/01/
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to connect from a remote machine
Posted by steve <sf...@roadrunner.com>.
Albert Joseph wrote:
> Hi Brian Mearns,
>
> I am still stuck. I need to connect to my Apache from the outside world (not from within a LAN). I am using an ADSL modem (not router), so I think this means that my server connects directly to the Internet. I used "whatismyip.com" to find my public IP address and gave to a friend to try to use it as the "http://" address to log into my Apache, but he said he could not connect.
>
> When I installed Apache I used the word "localhost" as the Network Domain and Server Name. Shouldn't I have done that ?
>
> Thank you
>
>
> _________________________________________________________________
> Proud to be a PC? Show the world. Download the “I’m a PC” Messenger themepack now.
> hthttp://clk.atdmt.com/MRT/go/119642558/direct/01/
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
You need to forward port 80 on your router to the IP of the computer
running apache. more info below.
http://portforward.com/routers.htm
--
Steve Reilly
http://reillyblog.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] How to connect from a remote machine
Posted by Albert Joseph <al...@live.com>.
Hi Brian Mearns,
I am still stuck. I need to connect to my Apache from the outside world (not from within a LAN). I am using an ADSL modem (not router), so I think this means that my server connects directly to the Internet. I used "whatismyip.com" to find my public IP address and gave to a friend to try to use it as the "http://" address to log into my Apache, but he said he could not connect.
When I installed Apache I used the word "localhost" as the Network Domain and Server Name. Shouldn't I have done that ?
Thank you
_________________________________________________________________
Proud to be a PC? Show the world. Download the “I’m a PC” Messenger themepack now.
hthttp://clk.atdmt.com/MRT/go/119642558/direct/01/
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to connect from a remote machine
Posted by Brian Mearns <bm...@ieee.org>.
Each network connection on your Server machine has an IP address
associated with it, which you can connect to. If the machine is
connected to a LAN, then you can connect to the server FROM WITHIN THE
LAN by using the IP address of the network adapter that connects it to
the LAN.
If you want to connect to it from the "outside world", you'll need to
use your public IP address. If your server connects directly to the
Internet, then it's just the same IP address. If you go through a
router or firewall, then you need to find out what the IP address (the
public one, not the local one) of the router or firewall. Regardless
of how you connect, you can find out your public IP by going to
whatismyip.com.
Note that if you have a Dynamic IP address (which you probably do),
then your ISP can (and will) change your ip address with out any
notice. If this is the case and you want to access your system from
anywhere, you'll need to use something like dyndns (dyndns.com) to map
a [sub]domain name (like alberts_server.homeip.net, or something) to
your IP address, and automatically update this mapping when your IP
changes.
Hope that helps.
-Brian
On Sat, Nov 22, 2008 at 5:23 PM, steve <sf...@roadrunner.com> wrote:
> Albert Joseph wrote:
>> Hi all
>>
>> I have a very basic question since I am very new to the Web server world.
>>
>> I have recently installed Apache HTTP server. I am running a stand-alone (not part of any network) machine on Windows 2000 Professional. When I was installing the server, I was asked for the domain and server names and I didn't know what to answer, so I put "localhost", which turned out to be a good guess. So, I am using http://localhost/ to connect to the Apache HTTP server. Now, I need to connect to the server from a remote machine. What http address should I use ?
>>
>> Thank you
>
>
>
> To access apache installation inside your LAN, just type the IP of the
> computer that has apache running from another computer into the address
> bar of your browser. find your internal IP by typing ipconfig at a
> command line of the computer running apache.
>
>
>
>
>
>
> --
> Steve Reilly
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--
Feel free to contact me using PGP Encryption:
Key Id: 0x3AA70848
Available from: https://keyserver.pgp.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to connect from a remote machine
Posted by steve <sf...@roadrunner.com>.
Albert Joseph wrote:
> Hi all,
>
> I have a very basic question since I am very new to the Web server world.
>
> I have recently installed Apache HTTP server. I am running a stand-alone (not part of any network) machine on Windows 2000 Professional. When I was installing the server, I was asked for the domain and server names and I didn't know what to answer, so I put "localhost", which turned out to be a good guess. So, I am using http://localhost/ to connect to the Apache HTTP server. Now, I need to connect to the server from a remote machine. What http address should I use ?
>
> Thank you
To access apache installation inside your LAN, just type the IP of the
computer that has apache running from another computer into the address
bar of your browser. find your internal IP by typing ipconfig at a
command line of the computer running apache.
--
Steve Reilly
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to connect from a remote machine
Posted by Brian Mearns <bm...@ieee.org>.
Just so there's no confusion, I believe what André is saying is that
if its not part of a network, then you can't connect to it, however
the Internet is a network, so if you're connected to that, you're
fine.
-Brian
On Sun, Nov 23, 2008 at 8:35 AM, André Warnier <aw...@ice-sa.com> wrote:
> Albert Joseph wrote:
> [...]
> I am running a stand-alone (not part of any network) machine on Windows
> 2000 Professional.
> [...]
> Now, I need to connect to the server from a remote machine. What http
> address should I use ?
>
> Well, assuming the two first sentences above are true, you are really
> going to have a problem.
> ;-)
>
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to connect from a remote machine
Posted by André Warnier <aw...@ice-sa.com>.
Albert Joseph wrote:
[...]
I am running a stand-alone (not part of any network) machine on Windows
2000 Professional.
[...]
Now, I need to connect to the server from a remote machine. What http
address should I use ?
Well, assuming the two first sentences above are true, you are really
going to have a problem.
;-)
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org