Make camunda run only accept connections from localhost?

So I got Camunda run extracted and started, but then it’s accepting connections from all remote hosts.
Is there a way to set it to talk only to localhost? That would be useful to not have all developer machines having serving Camunda to the whole network…
I remember that this should be possible even at tomcat level, but don’t know about where one could do which setting…

best regards

Hi @mmoole,

as this is more a tomcat related question I would suggest to start exploring here: “How-to” Guides.

But I’m not concerned about this for developing as usually each computer has it’s own firewall these days.

When it comes to production, it’s a different story.

Hope this helps, Ingo

well, I could not get it to work like this. I wonder what you mean about firewalls? If I run ‘Camunda run’, then on a default Windows 10 machine I can connect to port 8080 from anywhere in the network to this machine, which is not what I want.
At least I found out about ‘org.apache.catalina.valves.RemoteAddrValve’, but I have no idea where to put that.

Best Regards

Hello @mmoole ,

this sounds like the configuration of your device does not fit your needs. Have you tried to connect to other ports from outside too (like 80 by running a local apache2)? If this also works, you should check the settings of your local firewall, as @Ingo_Richtsmeier mentioned.

Jonathan

On my private computer I can check and set firewall settings, but here on the company computer this is done via IT department, I cannot set anything.

Best Regards