How to bind tj3d to all IP addresses

14 views
Skip to first unread message

Markus Mahlberg

unread,
Mar 3, 2020, 9:01:00 AM3/3/20
to TaskJuggler Users
Hello List,

I was trying to set up tj3d as a docker image and ran into several problems, the first being unable to bind tj3d to 0.0.0.0, that is all IP addresses.

Environment

# tj3d --version
/usr/lib/ruby/gems/2.6.0/gems/taskjuggler-3.6.0/lib/taskjuggler/MessageHandler.rb:233: warning: constant ::Fixnum is deprecated
TaskJuggler v3.6.0 - A Project Management Software


I tried the follwing, which is as far as I know the only option:

  1. I created a tj3d.uri file containing druby://0.0.0.0:8474
  2. I started tj3d with tj3d --debug -d -p 0 --urifile /path/to/t3jd.uri
  3. The server now still starts listening to the default 127.0.0.1, but at a random port
What is the proper way to bind tj3d to a specified IP and port?



Kind regards,

Markus

Jostein Berntsen

unread,
Mar 3, 2020, 9:13:26 AM3/3/20
to TaskJuggler Users
On 03.03.20,02:48, Markus Mahlberg wrote:
> Hello List,
>
> I was trying to set up tj3d as a docker image and ran into several
> problems, the first being unable to bind tj3d to 0.0.0.0, that is all IP
> addresses.
>
> *Environment*
>
> # tj3d --version
> /usr/lib/ruby/gems/2.6.0/gems/taskjuggler-3.6.0/lib/taskjuggler/MessageHandler.rb:233:
> warning: constant ::Fixnum is deprecated
> TaskJuggler v3.6.0 - A Project Management Software
>
>
> I tried the follwing, which is as far as I know the only option:
>
>
> 1. I created a tj3d.uri file containing druby://0.0.0.0:8474
> 2. I started tj3d with tj3d --debug -d -p 0 --urifile /path/to/t3jd.uri
> 3. The server now still starts listening to the default 127.0.0.1, but
> at a random port
>
> What is the proper way to bind tj3d to a specified IP and port?
>
>

Hi,

This article is describing the port and other tj3d setup in a good way:

http://www.burnlog.com/en/redmine_taskjuggler/howto/howto_install_supervisor_for_tj3d_taskjuggler_daemon/

This is also using supervisor to keep the taskjuggler daemon live.


Jostein

Reply all
Reply to author
Forward
0 new messages