Skip to content

Commit 129e5a6

Browse files
Update linux.md
Adding default ports in linux buidl environment information
1 parent 556db30 commit 129e5a6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

user/reference/linux.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,30 @@ To use our Ubuntu Linux build infrastructure, you can choose between the distrib
2424

2525
We use Ubuntu Xenial 16.04 as default. You find more about packages, tools and settings in [Ubuntu Xenial 16.04](/user/reference/xenial/).
2626

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+
2751
### Using Xenial
2852
2953
To use Ubuntu Xenial, add the following to your `.travis.yml`.

0 commit comments

Comments
 (0)