I installed openshift origin (one node cluster) on ubuntu server hosted on vbox on my local machine, I need to access it through web using its IP from my host machine(client) but it always redirect my Ip to local host 172.0.0.1, how to overcome this?
sudo oc cluster up --public-hostname=YourMachineIP
Related
I installed PMM percona tools on a remote server (that I can reach using ipv6) how/where can I run Grafana instance on a local browser so that it is connected with PMM?
I think you need to install grafana on the same server where you installed PMM,
after doing that you can just access the grafana interface using your local brower
( es. http://[ip-address]:3000 )
https://www.fosslinux.com/8328/how-to-install-and-configure-grafana-on-centos-7.htm
Did you install it as a docker container or as a VM appliance? Appliance should have an exposed IP you can point your web browser at. Docker container should have a port mapped through, and you can then point your browser at that port on the host.
I'm using Ubuntu 14.04.3 on my machine, so I have LAMP set up. I'm using Virtual Machine for Windows based apps. I've got Power BI Desktop running on my VM and would like to connect it to my local mysql DB.
It can't connect to it using neither localhost, nor my local IP (192.168.1.123 in this case).
Do I need to set up a port forwarding? Or is it just not possible to connect to my local DB like that?
If your localhost is inside the VM it should work. If your localhost is the Ubuntu box, you need to setup your network and use your Ubuntu's IP Address to receive the network requests.
I am trying to set up production and development environment for my web project hosted at Openshift PAAS.
I should be able to deploy my web application after final tests and changes to Openshift (production environment).
I set my development environment using GITHUB(Since I do not want other people to connect to openshift).
How do they can connect to Openshift MYSQL server hosted at cloud without port forwarding.
It is not possible to connect to the MySQL server that is hosted on your OpenShift application without using port forwarding.
I am running VirtualBox on MacOS, I have a windows xp vm. I also have mysql database running inside the vm. The vm is configured to use Bridged Network Adapter.
When I am connected to a wi-fi network (at home), I am able to connect to the data running on the vm from my mac (host), by using the IP address of the vm in the connection string.
How do I do this when I am not connected to the network (when I am travelling on a train for example)?
What setting do I need to change on the VM so that my host can connect to the mysql database running on the xp vm?
There is no need for the VM to access the outside network etc... It is enough for the host to be able to access the database on the vm.
This can be solved by using port forwarding in VirtualBox with NAT as the networking mode.
I recently deployed a .war from Netbeans IDE on my local machine to Amazon EC2. The Servlet in my Webapp used JBDC Connector/J, the jar file for which was copied into Libraries in Netbeans. The WebApp was working well on my local machine. But the logs of Tomcat on Amazon EC2 shows an error the host 'xyz' is not allowed to connect to this MySQL Server.
confirm host information for mysql - run this on mysql:
select host, user from mysql.user;
If your host/port information is correct, try checking privileges being used for the web application. Also, make sure that your database server is able to bind on the specified port (netstat -an | grep 'port number') & that the client app can connect to that port (on the host). hope it helps