[lxc-users] lxd not providing port 8443
Mark Constable
markc at renta.net
Wed Aug 12 04:16:30 UTC 2015
I have 2 *buntu 15.10 hosts and my local one has a few trusty, utopic and
wily containers. I've just updated a local LAN remote NAS to wily (so both
ends run the same version of lxd/lxc) and want to test copying and migration.
However, neither my local or remote test machines have anything running on
port 8443. Is there some "trick" to start lxd plus access via port 8443?
~ p lxd
root 2098 0.0 0.1 380028 19756 ? Ssl Aug11 0:02 /usr/bin/lxd --group lxd --logfile=/var/log/lxd/lxd.log
root 2123 0.0 0.0 213924 6352 ? Ss Aug11 0:00 [lxc monitor] /var/lib/lxd/containers gc1
root 5803 0.0 0.0 213924 4308 ? Ss Aug11 0:00 [lxc monitor] /var/lib/lxd/containers gc5
~ lxc list
+-------------------+---------+-------------+------+-----------+-----------+
| NAME | STATE | IPV4 | IPV6 | EPHEMERAL | SNAPSHOTS |
+-------------------+---------+-------------+------+-----------+-----------+
| gc4 | STOPPED | | | NO | 0 |
| gc5 | RUNNING | 192.168.0.5 | | NO | 0 |
| gc6 | STOPPED | | | NO | 0 |
| gc1 | RUNNING | 192.168.0.3 | | NO | 0 |
+-------------------+---------+-------------+------+-----------+-----------+
~ sudo netstat -tanup | grep 8443
[... nothing ...]
>From the remote back to my local host...
~ lxc remote add mbox https://mbox:8443 --debug
DBUG[08-12|14:08:45] Error reading the server certificate for mbox:
open /home/markc/.config/lxc/servercerts/mbox.crt: no such file or directory
DBUG[08-12|14:08:45] fingering the daemon
error Get https://mbox:8443/1.0: Unable to connect to: mbox:8443
There is no firewall between them (from remote LAN NAS back to my laptop).
~ nmap mbox
Starting Nmap 6.47 ( http://nmap.org ) at 2015-08-12 14:11 AEST
Nmap scan report for mbox (192.168.0.2)
Host is up (0.00032s latency).
Not shown: 997 closed ports
PORT STATE SERVICE
53/tcp open domain
111/tcp open rpcbind
2049/tcp open nfs
Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds
And fwiw this is the wily container running on my local host scanned
from the remote LAN NAS (ie; no fundamental networking issues)...
~ nmap gc1
Starting Nmap 6.47 ( http://nmap.org ) at 2015-08-12 14:12 AEST
Nmap scan report for gc1 (192.168.0.3)
Host is up (0.00032s latency).
Not shown: 994 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
80/tcp open http
443/tcp open https
465/tcp open smtps
993/tcp open imaps
Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds
More information about the lxc-users
mailing list