Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I expose my service, for instance teamspeak server, on what address it will be running? On my server address?

For example: my server has an address of If I deploy teamspeak from my local network ( connected to the server, how will it be seen in the network?

When I run juju status I get this:

public-address: nodeTWO.localdomain

instead of an IP address. My juju status:

share|improve this question
Can you explain what type of environment this is? ec2? maas? local? openstack? It looks like maas, but I can't be sure. A full output of 'juju status' would help too – SpamapS Nov 4 '12 at 16:14
I am using local instances. – user84471 Nov 7 '12 at 16:32

It should use the public address to your server.

You can verify the actual address by running juju status and looking at the public-address stanza.

share|improve this answer
But I get this "public-address: nodeTWO.localdomain" instead of IP address. – user84471 Nov 1 '12 at 10:16
Is DNS server(on ubuntu server) needed for proper working of juju and exposing services? – user84471 Nov 2 '12 at 10:09

Expose only manipulates provider-backed firewalls. Currently in juju there are 4 providers. EC2, OpenStack, MaaS and local. Only EC2 and OpenStack do anything on expose/unexpose because they have provider level firewalls through security groups.

This is changing in juju-core, the port to the go language. This bit of the architecture has proven difficult to scale beyond a certain number of machines. HP Cloud, for instance, limits us to 10 security groups per region, so with the current scheme one can only spin up 10 machines in HP Cloud. So juju-core handles this through something called the "firewaller" which will basically manage firewalls on the machines themselves rather than at the provider level. for more info on the port to go.

share|improve this answer
Is this still the case? Can you please tell me what "expose" does on the latest Juju? – Galgalesh Feb 18 '15 at 11:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.