Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
resin on a privileged port
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
zambaroo
n00b
n00b


Joined: 13 May 2004
Posts: 13

PostPosted: Tue Oct 12, 2004 1:57 am    Post subject: resin on a privileged port Reply with quote

Hello,

I know, and you should know too, that running resin on a privileged port is not a very good idea. However, life deals strange cards sometimes, and we need to implement things that are not very smart just because the management wants it.

This is the exact situation that I found myself in today. Run resin on port 80, the Boss said.

Okay.

I broke my head for some time, trying to get resin to bind to a privileged port. Changing the port directive in resin.conf does not help. The solution is simple.

1. Open /opt/resin/conf/resin.conf and change:
Code:
 
<!-- the http port -->
  <http port='8080'/>

to
Code:

  <!-- the http port -->
  <http port='80'/>

2. Open /etc/conf.d/resin and change:
Code:

RESIN_USER=resin

to:
Code:

RESIN_USER=

3. Restart resin:
Code:

shell#/etc/init.d/resin restart


You're done.

Hope this helps!

-Z
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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