Cockpit virtual machine VNC console doesn't work - virsh

Cockpit virtual machine VNC console doesn't work in following scenario:
Cockpit loaded on workstation host.
Then host was changed in the cockpit to a server host.
Server has a few virtual machines. VNC console cannot be connected.
But if I load the cockpit directly from server host, VNC console works fine.
Issue could be seen in CentOS 8, RHEL 8, Oracle Linux 8. Possibly 7th version as well affected.
Did anyone solved such issue?
[update]
[When host was shifted to the serve] Server sends GET request to Web Socket when try to connect to VNC console:
wss://linux-workstation.loc:9090/cockpit/channel/0626ddf3aa6e03b8661a7c1ce3aff696d8536d44eec4acb681845ae5b94288e2?eyJwYXlsb2FkIjoic3RyZWFtIiwicHJvdG9jb2wiOiJiaW5hcnkiLCJiaW5hcnkiOiJyYXciLCJhZGRyZXNzIjoiMTI3LjAuMC4xIiwicG9ydCI6NTkwMn0=
[When server host was directly loaded] Server sends GET request to Web Socket when try to connect to VNC console:
wss://server.loc:9090/cockpit/channel/83f0fb6df09ff3f16278ee39838ca6b3dbf3696b7461b7a0cad84f0f864a3199?eyJwYXlsb2FkIjoic3RyZWFtIiwicHJvdG9jb2wiOiJiaW5hcnkiLCJiaW5hcnkiOiJyYXciLCJhZGRyZXNzIjoiMTI3LjAuMC4xIiwicG9ydCI6NTkwMn0=
But, virtual machines run only on the server. It looks like a JS bug.

Related

How to solve google chrome "Failed to load resource: net::ERR_CONNECTION_REFUSED" issue in windows 10 when server is running on Ubuntu 18.04?

I am trying to run this project on Ubuntu 18.04 server. I am running both server and client on this machine. Then from windows 10 with port 9000 I am getting access to client in my chrome browser at http://localhost:8000/#/
The browser loads the project but the problem is I can't log into the website with trusted account and some other data do not get loaded . When I see browser console I see an error message saying:
Failed to load resource: net::ERR_CONNECTION_REFUSED
This is the server setting:
This is the client setting and putty setting to connect to client.
VPN has been used to connect to server via PuTTY.
The error message in browser:
Could anyone shed some light on this issue? Is it related to windows 10 or VPN or some other issues? I followed some steps from here https://www.ionos.com/digitalguide/hosting/technical-matters/err-connection-reset/
By default, the Flask development environment uses 127.0.0.1 (localhost), which restricts access to processes on the same host (except for VMs/containers, which aren't a factor here).
To access Flask from outside of localhost (e.g., from your Windows 10 machine), use the IP address 0.0.0.0. (You can pass it to run(), or via a command line option of the flask command.
However, do note the warnings about (not) using the development environment for production use.

Getting Tomcat 7 to work on remote CentOS 7.5

I am trying to run a website (WAR-file)on a remote CentOS 7.5 VM.
I have access to this VM through ssh connection with putty and am able to remote view desktop. The current problem is that even though Tomcat can start, when trying to wget or via browser to view the website a "Connection refused" is returned. I have checked that I request from the right ports and Tomcat does not throw an exception on startup that no port could be opened.
Has it something to do with firewall, which might be preventing access to the port.
Or you might want to map the exposed tomcat port to an external port.

Can't access APEX server from another same network PC

I have Oracle APEX 5.X installed over Oracle Express DB on windows 10 on a virtual machine.
I turned off all firewalls on the guest windows 10 VM and added all outbound and inbound rules to allow connecting to Oracle APEX port 8008.
I ran execute dbms_xdb.setListenerLocalAccess(l_access => FALSE); to allow accessing the APEX server over network instead of just localhost.
Now, What I'm able to do:
I can ping the guest machine IP address (192.168.100.2) from other
PCs on the network
I can open Oracle APEX inside the guest machine
192.168.100.2:8080/apex
What I can't do:
I can't open 192.168.100.2:8080/apex from any other PC in the same
network. I get an error: This site can’t be reached
192.168.100.2 refused to connect.
I searched for 5 hours now without any help.
Issue solved after connecting the laptop with the VM to a wired LAN connection instead of wireless.

Windows services with network access

I have a small server app, which receives UDP data on port X. When I run this app with a local logged in user account, all is fine and my app receives commands via UDP. But when I'm installing the app as a windows service which runs under same local user account, I'm not longer receiving data, when I try to connect from a different machine. Local connections are fine. I've also opened my UDP port X in the windows firewall settings, but with no luck.
Any help is appreciated.
Only for the sake of completeness:
It has been found that it has something to do with the virtual machine in which the Windows runs. I use a network bridge to connect it to my local network. After adding a host-only network adapter, my windows service received all expected commands. No idea why!?

Blank gray screen instead of the login page for connection server

I've got connection server installed on a w2008r2 with domain configured on another machine connection works fine though not able open the Connection server just gets a blank gray screen
with not login page.However when a try to login in the View client am able to login but gets error View connection server license key is invalid.
I have the Adobe flash 11 installed
I have question is it possible to install Connection server without the vCenter server ?
Thanks in advance
Yes you can install Connection server without vCenter server, see the pre-req of install a connection server. But without vcenter we can only unmanaged guest machine...
And if you just want to access the win2k8 server. You can just use vsphere client connect to the ESXi directly.

Resources