Change IP in Ubuntu Image


i will change the ip after the Setup the Ubuntu VM from the Store.
The IP at the moment is, will change to 192.168.1.xx.
How i can do this?

Have change the IP in etc/network/interfaces and save + reboot, but then i can not connect to the cloud anymore.

Please help me fast.


Ubuntu: 16.04.3
Netxcloud: 12.0.3

Have you checked firewall rules to ensure that they are forwarding to the correct IP?

sorry, how i do this.
i`m not a perfect linux men ;-)!

thx simon

Simon, I should have asked how you connected to the computer originally. Was it via a local IP address like and through a web browser or were you using Putty or something else?

at the moment i will use and all works.
i work via Webbrowser and Nextcloud-Client.
can also connect via Putty and root to the VM.

Hi Simon,
did you try to change the ip address in the config.php (/var/www/nextcloud/config/config.php in my case)?

Should be like:

<?php $CONFIG = array ( 'instanceid' => 'xxxxxxxxxxxxxxxx', 'passwordsalt' => 'yyyyyyyyyyyyyyyyyyyyy', 'secret' => 'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz', 'trusted_domains' => array ( 0 => 'your_nextcloud_dom.ain', 1 => '192.168.1.xx', 2 => 'localhost', ), In your ip address set for the xx yours

Good catch soyo!

@infotech Thanks:-)