unable to ping Linux server from my windows machine - ping

I have installed linux 6.0 on vmware , its static ip is 192.168.208.10 but I am unable to ping it with windows machine
its giving error connection time out

Related

Cannot connect to a MySQL server in a suse machine from a Windows using MySQL Workbench

Hello I have a MySQL server running in a suse machine, I can connect from the localhost using workbench but I can't from a remote windows machine.
I have set bind address to 0.0.0.0 on the my.cnf file on the server and I have assured that port is open.
In fact I do a telnet to the port from the windows machine and it connects.
When I try to connect from workbench on the remote machine the following error appears:
Lost connection to MySQL server at 'waiting for initial communication packet' error 10060
I have found a other post which explain how to address that but I guess that only works if the server is running on a Windows machine:
Lost connection to MySQL server at 'waiting for initial communication packet'
How could I replicate that in a linux machine? Thanks
PS: I am connecting through TCP.
I don't know what to try.

Django - Connection refused mysql on ubuntu subsystem windows 10

I'm using xaamp for MySQL DB and I run my server on both cmd and ubuntu subsystem but my ubuntu says
django.db.utils.OperationalError: (2003, 'Can't connect to MySQL server on '127.0.0.1' (111 "Connection refused")')
The reason is SubSystem Ubuntu is in another network layer. So those cannot connect.
Connecting to Windows network applications/servers from Ubuntu in WSL2
WSL2 is actually running on a separate, virtualized, NAT'd network from your Windows host. As such, you need to determine the proper IP address to use for the Windows host in order to connect to it from the WSL2 network.
Assuming a default WSL/Ubuntu installation on a supported Windows release, mDNS is usually the best option.
The mDNS name of your Windows host that you can use from within Ubuntu will look like:
MyComputerName.local
As long as you haven't changed the DNS resolver from the WSL default, that will be the same as what you see when you run hostname in Ubuntu.
You can determine this programmatically by:
Obtaining the hostname in your programming language / environment
Appending .local
For instance, in Bash, to connect to a Windows MySQL server:
Install the MySQL client in Ubuntu:
sudo apt install mysql-client
Connect to Windows MySQL server via "$(hostname).local":
mysql --hostname=$(hostname).local --user=me -p mydb
Reference: https://askubuntu.com/questions/1411512/how-to-connect-local-windows-applications-like-conda-and-mysql-from-ubuntu-on-ws

MySQL accessible from my machine but not from another machine on the same LAN

I have MySQL running on an Apple OS X 10.14 machine. I use MailSteward Pro to access it, and it works fine locally from that machine. From another machine on the same LAN, which can ping the SQL server machine just fine, I get this error:
Failed to connect to server: Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I am not specifying a different .sock file on the connection on the MySQL server machine. What am I doing wrong - how to debug this?

Connect to MySQL in windows from Vagrant

I have created a database in my Windows machine. How to connect to this database from vagrant instance running on the same machine?

Unable to connect to MySQL in CentOS VM from the host Windows machine

I wanted to test my eJava application in CentOS, so I installed CentOS 6.5 in Oracle Virtual box locally in my laptop (Windows 8.1). I configured the network in the virtual machine and it is able to ping google.com as well as the host windows machine. I then installed MySQL in the CentOS VM and modified the my.cnf to edit the bind-address. Also updatd the iptables to allow input and output connections. I tried connecting to the databse from the windows host using the command
mysql -u supplychain -h 10.0.2.15 -P 3306 -p
where 10.0.2.15 is the ip address of the centos VM. I am getting the error
ERROR 2003 (HY000): Can't connect to MySQL server on '10.0.2.15' (10060)
If I run the same command in the centos host it logs into the MySQL. Any idea how this can be fixed? I already confirmed that skip-networking is removed from the my.cnf.