diff --git a/apps/terminal/migrations/0005_endpoint_vnc_port.py b/apps/terminal/migrations/0005_endpoint_vnc_port.py index acf301dbc..931b634ce 100644 --- a/apps/terminal/migrations/0005_endpoint_vnc_port.py +++ b/apps/terminal/migrations/0005_endpoint_vnc_port.py @@ -16,6 +16,6 @@ class Migration(migrations.Migration): migrations.AddField( model_name='endpoint', name='vnc_port', - field=common.db.fields.PortField(default=5900, validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(65535)], verbose_name='VNC port'), + field=common.db.fields.PortField(default=15900, validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(65535)], verbose_name='VNC port'), ), ] diff --git a/apps/terminal/models/component/endpoint.py b/apps/terminal/models/component/endpoint.py index 79df177bf..e0ff92650 100644 --- a/apps/terminal/models/component/endpoint.py +++ b/apps/terminal/models/component/endpoint.py @@ -22,7 +22,7 @@ class Endpoint(JMSBaseModel): postgresql_port = PortField(default=54320, verbose_name=_('PostgreSQL port')) redis_port = PortField(default=63790, verbose_name=_('Redis port')) sqlserver_port = PortField(default=14330, verbose_name=_('SQLServer port')) - vnc_port = PortField(default=5900, verbose_name=_('VNC port')) + vnc_port = PortField(default=15900, verbose_name=_('VNC port')) comment = models.TextField(default='', blank=True, verbose_name=_('Comment')) is_active = models.BooleanField(default=True, verbose_name=_('Active'))