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
Copy file name to clipboardExpand all lines: user/reference/linux.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,30 @@ To use our Ubuntu Linux build infrastructure, you can choose between the distrib
24
24
25
25
We use Ubuntu Xenial 16.04 as default. You find more about packages, tools and settings in [Ubuntu Xenial 16.04](/user/reference/xenial/).
26
26
27
+
### Ports
28
+
29
+
Travis CI Linux build images do utilize default open ports as follows:
30
+
31
+
53 for dns,
32
+
22 for ssh,
33
+
323 for ntp
34
+
68 for dhcp
35
+
36
+
On top of that, some of the services pre-installed in the build image or installed during execution of the build job execution as dependencies (e.g. database engine or docker) may occupy additrrional ports.
37
+
Travis CI build image configuratione doesn't override such defaults.
38
+
39
+
If in any case during a build job you run into a situation a port you want to use is occupied/not available, please re-run the build using
40
+
following `nestat` call in your `.travis.yml` at the beginning of the script phase or directly before the step, which you suspect clashes over occupied ports.
41
+
42
+
```yaml
43
+
script:
44
+
# select proper step in your build execution and add this line before it
45
+
- sudo netstat -tulpn
46
+
```
47
+
{: data-file=".travis.yml"}
48
+
49
+
to show all open ports occupied during the build job runtime.
50
+
27
51
### Using Xenial
28
52
29
53
To use Ubuntu Xenial, add the following to your `.travis.yml`.
0 commit comments