LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Thread Tools
Old 01-06-2009, 03:11 PM   #1
SentralOrigin
Member
 
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 258
Thanked: 0
How do I change ports for my http server?


[Log in to get rid of this advertisement]
I installed lighttpd, PHP, and MySQL for it using a tutorial and everything is working nicely.

But my ISP blocks port 80, so I can't use that port. I went into /etc/lighttpd/lighttpd.conf and changed the line to:
Code:
server.port = 8080
because port 8080 is open (I checked with an open port checker). I also opened TCP port 8080 on my router.

But now when I go to my IP address:8080 in my browser, it shows a "can't establish a connection to the server" thing. When I go to just my IP address in my browser, it shows my index.html page in /var/www/.

How can I make it so other people can see my page?
SentralOrigin is offline     Reply With Quote
Old 01-06-2009, 03:19 PM   #2
angrek
LQ Newbie
 
Registered: Jan 2009
Posts: 7
Thanked: 3
Did you restart the web server after making the port change?
angrek is offline     Reply With Quote
Thanked by:
Old 01-06-2009, 03:25 PM   #3
SentralOrigin
Member
 
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 258
Thanked: 0

Original Poster
Quote:
Originally Posted by angrek View Post
Did you restart the web server after making the port change?
Thanks.

*smacks self*
SentralOrigin is offline     Reply With Quote
Old 01-06-2009, 03:33 PM   #4
angrek
LQ Newbie
 
Registered: Jan 2009
Posts: 7
Thanked: 3
No problem.
angrek is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
monodoc-http gives a http 500 internal server error ernesto_cgf Linux - Software 0 05-10-2007 04:48 PM
Is my DSL provider changing the status of my ports FTP, HTTP? IS it possible? doraimom Linux - Networking 5 08-20-2006 11:50 PM
how do i change ports for ftp server Kertais909 Linux - Networking 3 07-21-2004 05:18 AM
browsing other http ports Ian Fleeton Linux - Networking 13 05-14-2003 05:21 AM
How to seal all the ports except HTTP and FTP sevvice? mkgyl Linux - Security 14 10-28-2001 12:42 AM


All times are GMT -5. The time now is 07:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration