Installation: Does it work if you get 'It works!'

This is a discussion on Installation: Does it work if you get 'It works!' within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, Because I want to make my website using php I decided to install Apache. I'm following the tutorial ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-15-2007
Abel
 
Posts: n/a
Default Installation: Does it work if you get 'It works!'

Hi,

Because I want to make my website using php I decided to install Apache.
I'm following the tutorial of
http://www.php-mysql-tutorial.com/in...-php-mysql.php.

After installing Apache the tutorial states I should go
http://localhost. But if I do that, I get a page stating 'Failed to
Connect' and 'The connection was refused when attempting to contact
localhost.' If I go to http://localhost:8080/ on the other hand, I get a
page with 'It works!' on it. How do I know my server works, so I
continue with my installation?

Abel
  #2 (permalink)  
Old 01-15-2007
Mark
 
Posts: n/a
Default Re: Installation: Does it work if you get 'It works!'

Abel <MacAdam@eden.invalid> wrote in news:45ab7919$0$1995$9a622dc7
@news.kpnplanet.nl:

> Hi,
>
> Because I want to make my website using php I decided to install

Apache.
> I'm following the tutorial of
> http://www.php-mysql-tutorial.com/in...-php-mysql.php.
>
> After installing Apache the tutorial states I should go
> http://localhost. But if I do that, I get a page stating 'Failed to
> Connect' and 'The connection was refused when attempting to contact
> localhost.' If I go to http://localhost:8080/ on the other hand, I get

a
> page with 'It works!' on it. How do I know my server works, so I
> continue with my installation?
>
> Abel
>


It works, but you installed it so that it is listening on port 8080
instead on port 80.

It is configurable in the httpd.conf file.



----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
  #3 (permalink)  
Old 01-15-2007
Abel
 
Posts: n/a
Default Re: Installation: Does it work if you get 'It works!'

Mark wrote:

>
> It works, but you installed it so that it is listening on port 8080
> instead on port 80.
>
> It is configurable in the httpd.conf file.
>


Mark,

Do I conclude that if I change the 8080 port to 80 I can go directly to
the http://localhost/ page?

Abel
  #4 (permalink)  
Old 01-15-2007
Rik
 
Posts: n/a
Default Re: Installation: Does it work if you get 'It works!'

Abel wrote:
> Mark wrote:
>
>>
>> It works, but you installed it so that it is listening on port 8080
>> instead on port 80.
>>
>> It is configurable in the httpd.conf file.
>>

>
> Mark,
>
> Do I conclude that if I change the 8080 port to 80 I can go directly
> to the http://localhost/ page?


Yes, 80 is the default port for http, so you won't have to add :80 to the
url in that case. Default port for https is 443 BTW.

--
Rik Wasmus


  #5 (permalink)  
Old 01-15-2007
Mark
 
Posts: n/a
Default Re: Installation: Does it work if you get 'It works!'

Abel <MacAdam@eden.invalid> wrote in news:45ab8d7b$0$2176$9a622dc7
@news.kpnplanet.nl:

> Mark wrote:
>
>>
>> It works, but you installed it so that it is listening on port 8080
>> instead on port 80.
>>
>> It is configurable in the httpd.conf file.
>>

>
> Mark,
>
> Do I conclude that if I change the 8080 port to 80 I can go directly to
> the http://localhost/ page?
>
> Abel


Rik is correct, but be aware that while it works for you locally it may
not work for the public. Many ISP's block port 80 so you cannot run an
httpd server on your account. Your ISP may require a commercial account
for that. Or, you may be lucky and they not care...

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
  #6 (permalink)  
Old 01-16-2007
Rik
 
Posts: n/a
Default Re: Installation: Does it work if you get 'It works!'

Mark wrote:
> Abel <MacAdam@eden.invalid> wrote in news:45ab8d7b$0$2176$9a622dc7
> @news.kpnplanet.nl:
>
>> Mark wrote:
>>
>>>
>>> It works, but you installed it so that it is listening on port 8080
>>> instead on port 80.
>>>
>>> It is configurable in the httpd.conf file.
>>>

>>
>> Mark,
>>
>> Do I conclude that if I change the 8080 port to 80 I can go directly
>> to
>> the http://localhost/ page?
>>
>> Abel

>
> Rik is correct, but be aware that while it works for you locally it
> may
> not work for the public. Many ISP's block port 80 so you cannot run an
> httpd server on your account. Your ISP may require a commercial
> account
> for that. Or, you may be lucky and they not care...


Well, most ISP's here in Holland don't block it. They do block SMTP ports
for obvious reasons.


> ----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure
> Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service
> in the World! 120,000+ Newsgroups ----= East and West-Coast Server
> Farms - Total Privacy via Encryption =----


Could you set this _below_ a sig seperator ('--[space][newline]'), that way
i do not get that newsfeeds.com spam. Thanks in advance.
--
Rik Wasmus


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:03 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0