I installed ipfs on my server, and changed in config the following:
"API": "/ip4/10.0.0.159/tcp/15001", "Gateway": "/ip4/10.0.0.159/tcp/8080"
For i have no local browser in the server and port 5001 seems to be already in use.
The daemon starts
API server listening on /ip4/10.0.0.159/tcp/15001
Gateway (readonly) server listening on /ip4/10.0.0.159/tcp/8080
Daemon is ready”
And there are several hundreds of swarm peers.
I cannot find a solution in the docs.