Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Use Apache with only net.lo?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pizzach
Apprentice
Apprentice


Joined: 28 Aug 2006
Posts: 195

PostPosted: Mon May 17, 2010 6:58 pm    Post subject: Use Apache with only net.lo? Reply with quote

For some reason, apache insists that I have to have a real network connection before running it locally. I am pretty sure I don't have that specified anywhere in httpd.conf or the vhosts.

Code:
zachary@cubber ~ $ sudo apache2
no listening sockets available, shutting down
Unable to open logs


Is there any way around this?

/etc/apache2/vhosts.d/00_default_vhost.conf
Code:
Listen *:8080
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10459
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon May 17, 2010 7:22 pm    Post subject: Reply with quote

Have you tried
Code:
Listen 127.0.0.1:8080
?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
pizzach
Apprentice
Apprentice


Joined: 28 Aug 2006
Posts: 195

PostPosted: Mon May 17, 2010 10:06 pm    Post subject: Reply with quote

I can try. Though people from the outside world won't be able to see apache. :(
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6727

PostPosted: Mon May 17, 2010 10:23 pm    Post subject: Reply with quote

Try it without the "*:" part, just the port number. I don't think * even works there.
Back to top
View user's profile Send private message
pizzach
Apprentice
Apprentice


Joined: 28 Aug 2006
Posts: 195

PostPosted: Mon May 17, 2010 10:55 pm    Post subject: Reply with quote

That was how it was originally when I was trying to figure out what to do. I then changed it to *:8080
Back to top
View user's profile Send private message
jordanwb
l33t
l33t


Joined: 10 Jul 2008
Posts: 642
Location: Ottawa, Canada

PostPosted: Mon May 17, 2010 11:36 pm    Post subject: Reply with quote

pizzach wrote:
I can try. Though people from the outside world won't be able to see apache. :(


How would they see it without a network connection anyways?
Back to top
View user's profile Send private message
pizzach
Apprentice
Apprentice


Joined: 28 Aug 2006
Posts: 195

PostPosted: Mon May 17, 2010 11:55 pm    Post subject: Reply with quote

When I don't have a network connection, I want to be able to see it locally. When I do have an internet connection I want outsiders to also be able to see it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum