You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In code, the URI value can be passed as a number (if only a port is specified) or a string:
108
+
109
+
.. code-block:: lua
110
+
111
+
box.cfg { listen = 3301 }
112
+
113
+
box.cfg { listen = "127.0.0.1:3301" }
114
+
102
115
In certain circumstances, a Unix domain socket may be used
103
116
where a URI is expected, for example, "unix/:/tmp/unix_domain_socket.sock" or
104
117
simply "/tmp/unix_domain_socket.sock".
105
118
119
+
A method for parsing URIs is illustrated in :ref:`Module uri <uri-parse>`.
120
+
121
+
.. _index-uri-several:
122
+
123
+
Specifying several URIs
124
+
~~~~~~~~~~~~~~~~~~~~~~~
125
+
106
126
Starting from version 2.10.0, a user can open several listening iproto sockets on a Tarantool instance
107
-
and, consequently, can specify several URIs in the configuration parameters such as :ref:`box.cfg.listen <cfg_basic-listen>` and :ref:`box.cfg.replication <cfg_replication-replication>`.
127
+
and, consequently, can specify several URIs in the configuration parameters
128
+
such as :ref:`box.cfg.listen <cfg_basic-listen>` and :ref:`box.cfg.replication <cfg_replication-replication>`.
108
129
109
-
In addition to specifying URI as a number or a string, a number of other ways to pass URI values is available starting from Tarantool 2.10.0:
130
+
URI values can be set in a number of ways:
110
131
111
-
* As a string with one or several URIs separated by commas (provides backward compatibility)
0 commit comments