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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 =---- |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 =---- |
|
|||
|
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 |