| Tarantool

Since version 2.4.1. Return a real address to which an instance was bound. For example, if box.cfg{listen} was set with a zero port, will show a real port. The address is stored as a string:

  • unix/:<path> for UNIX domain sockets
  • <ip>:<port> for IPv4
  • [ip]:<port> for IPv6

If an instance does not listen to anything, is nil.


tarantool> box.cfg{listen=0}
tarantool> box.cfg.listen
- '0'
Found what you were looking for?