Machine registration on a different @ip range.

Hello, is it possible to register a server on another server with a different @ip range? I am currently trying to register a server (public exposure) on another one, but I am getting this error:
user@srv01:/etc/crowdsec# cscli lapi register -u http://149.0.0.1:6666 --machine srv01
Error: api client register: api register (http://149.0.0.1:6666/): Post "http://149.0.0.1:6666/v1/watchers": dial tcp 149.0.0.1:6666: i/o timeout
user@srv01:/etc/crowdsec# cscli lapi register -u http://149.0.0.1:6666 --machine srv01
Error: api client register: api register (http://149.0.0.1:6666/): Post "http://149.0.0.1:6666/v1/watchers": dial tcp 149.0.0.1:6666: i/o timeout
3 Replies
CrowdSec
CrowdSec6mo ago
Important Information
Thank you for getting in touch with your support request. To expedite a swift resolution, could you kindly provide the following information? Rest assured, we will respond promptly, and we greatly appreciate your patience. While you wait, please check the links below to see if this issue has been previously addressed. If you have managed to resolve it, please use run the command /resolve or press the green resolve button below.
Log Files
If you possess any log files that you believe could be beneficial, please include them at this time. By default, CrowdSec logs to /var/log/, where you will discover a corresponding log file for each component.
Guide Followed (CrowdSec Official)
If you have diligently followed one of our guides and hit a roadblock, please share the guide with us. This will help us assess if any adjustments are necessary to assist you further.
Screenshots
Please forward any screenshots depicting errors you encounter. Your visuals will provide us with a clear view of the issues you are facing.
© Created By WhyAydan for CrowdSec ❤️
iiamloz
iiamloz6mo ago
Yes you can register as long as the api port is exposed, however, from the timeout error it doesnt look like it accesible things to check: - listen_url is set to WAN or 0.0.0.0 - Firewall allows the port - Check VPS provider firewall incase it blocked before server firewall
bbuddha
bbuddhaOP6mo ago
yes sorry my bad, I forgot to expose the port

Did you find this page helpful?