Page 1 of 1

Bind application to a specific IP on the machine

PostPosted: Thu Apr 16, 2009 11:00 pm
by datdamnzotz
First,

Wonderful software. Far better than anything else I have seen on the net.

I do have a feature request if is poissible with out recoding tons.

It would be nice to be able to bind the application to a IP along with the port.

Thanks in advance :]]

PostPosted: Fri Apr 17, 2009 5:32 am
by sindre_mehus
Just curious: why do you wanna do that?

By default, I think Subsonic binds to 0.0.0.0 (all interfaces).

PostPosted: Sun Apr 19, 2009 1:22 am
by datdamnzotz
I have a webserver sitting on 80, 8080 and I would like to publish it through my firewall on a normal 80 port.

The server does multiple things and I would like to stick it on it's own ip/port instead of loosing the bind port across all 8 ip's on the box.

PostPosted: Sun Apr 19, 2009 8:16 am
by sindre_mehus
Ah, I see.

Well, it's currently not possible to specify the host (without modifying the source and recompiling). Unless you're using the Tomcat version, of course.

I'll strongly consider to add this as an option in 3.7.

Thanks,
Sindre

PostPosted: Mon Apr 20, 2009 5:05 pm
by sindre_mehus
Implemented in 3.7 :)

PostPosted: Thu Apr 23, 2009 6:19 pm
by datdamnzotz
Wow.

That was fast :]

Thanks.

Re: Bind application to a specific IP on the machine

PostPosted: Sat Aug 20, 2011 2:39 pm
by cds1
How is this done in Jetty. I'd like to bind Subsonic to a specific IP so I don't have to use non-standard http ports, or port forward.

Re: Bind application to a specific IP on the machine

PostPosted: Sun Aug 21, 2011 6:17 pm
by sindre_mehus
You can specify -Dsubsonic.host=<your ip> in c:/programfiles/subsonic/subsonic-service.exe.vmoptions.

Re: Bind application to a specific IP on the machine

PostPosted: Mon Aug 22, 2011 3:13 pm
by cds1
How is this is done in Linux?

Re: Bind application to a specific IP on the machine

PostPosted: Mon Aug 22, 2011 7:21 pm
by sindre_mehus
Please see the documentation in /etc/default/subsonic or /etc/sysconfig/subsonic.

Cheers,
Sindre