Can't ping but can access website virtual machine


jackhammer013

I'm using a vps using Microsoft Azure, and have a Linux Ubuntu Server installed, basically a stack of light bulbs. The URL is http://jflorescadev.cloudapp.net/, and its public IP is 23.97.56.207. If I put them both on the browser, I can access it fine, but whenever I try to connect to MySQL using MySQL Workbench, it won't connect. Of course I can connect to ssh and do database administration there, but I want to do it on the GUI, so I use MySQL Workbench.

All credentials to connect have been configured like:

GRANT ALL ON *.* to user@'%' IDENTIFIED BY 'password'; 
GRANT ALL ON *.* to user@localhost IDENTIFIED BY 'password'; 
GRANT ALL ON *.* to user@'%' IDENTIFIED BY 'password'; 

In my Azure portal, the port is already open. So I just use the command line to check:

ping 23.97.56.207

or

ping jflorescadev.cloudapp.net

Both give me a timeout response. why is that? thanks

username

You need to add an endpoint for the VM you created in the Azure portal. https://azure.microsoft.com/en-US/documentation/articles/virtual-machines-set-up-endpoints/

on the port you want to use for MySql. Set the public port to random and the private port to the default port for MySql (3306).

Next, you will need to configure MySQl to listen for remote connections ( Remote Connections Mysql Ubuntu ) and finally open the firewall on the ubuntu box. So you can connect. Wouldn't it be safe? :)

Related


Can't ping but can access website virtual machine

jackhammer013 I'm using a vps using Microsoft Azure, and have a Linux Ubuntu Server installed, basically a stack of light bulbs. The URL is http://jflorescadev.cloudapp.net/, and its public IP is 23.97.56.207. If I put them both on the browser, I can access it

Can't ping but can access website virtual machine

jackhammer013 I'm using a vps using Microsoft Azure, and have a Linux Ubuntu Server installed, basically a stack of light bulbs. The URL is http://jflorescadev.cloudapp.net/, and its public IP is 23.97.56.207. If I put them both on the browser, I can access it

Can't ping but can access website virtual machine

jackhammer013 I'm using a vps using Microsoft Azure, and have a Linux Ubuntu Server installed, basically a stack of light bulbs. The URL is http://jflorescadev.cloudapp.net/, and its public IP is 23.97.56.207. If I put them both on the browser, I can access it

Can't ping but can access website virtual machine

jackhammer013 I'm using a vps using Microsoft Azure, and have a Linux Ubuntu Server installed, basically a stack of light bulbs. The URL is http://jflorescadev.cloudapp.net/, and its public IP is 23.97.56.207. If I put them both on the browser, I can access it

Ping resolves hostname but can't access website

Alelancourt I'm having a problem with a Windows Server, it can ping a specific hostname, but I can't get HTTP access to it. The server does have an internet connection (google.com, superuser.com, etc.), only two specific websites are hosted in another server w

Ping resolves hostname but can't access website

Alelancourt I'm having a problem with a Windows Server, it can ping a specific hostname, but I can't get HTTP access to it. The server does have an internet connection (google.com, superuser.com, etc.), only two specific websites are hosted in another server w

Can't ping or SSH to virtual machine from lan

motto I have next setup: my home lan = 192.168.1.0/24 my vlan = 192.168.207.0/24 my laptop = 192.168.1.109 (DHCP OS = Windows7) my desktop = 192.168.1.206 (fixed ip OS = Windows8) My virtual machine installed on my desktop = 192.168.207.128 (NAT + dhcp OS = Li

Can't ping or SSH to virtual machine from lan

motto I have next setup: my home lan = 192.168.1.0/24 my vlan = 192.168.207.0/24 my laptop = 192.168.1.109 (DHCP OS = Windows7) my desktop = 192.168.1.206 (fixed ip OS = Windows8) My virtual machine installed on my desktop = 192.168.207.128 (NAT + dhcp OS = Li

Can't get Azure virtual machine to serve website

Andy Roper I just set up a Windows Azure virtual machine and installed IIS on it. When I put the remote desktop on the box, I can see the default IIS website is fine, but I can't get it to the web from the box's IP address. I opened port 80 on windows firewall

Can't access Flask server hosted on Azure virtual machine

hard disk I have a Flask server hosted on my Azure virtual machine. if __name__ == '__main__': app.run(debug=True, host="127.0.0.1", port=4400) On the vm, I can access the server at the address 127.0.0.1:4400. Now I want to be able to access this server f

Can't access internet on my virtual machine using VMWare

Sergio Tapia On my physical laptop, I have both Windows 7 and VMWare7 installed. Now I created a virtual machine and installed Linux Mint 9 on it and everything works fine on that virtual machine. When I try to access the internet from inside my VM, I don't ha

Can't access azure virtual machine over internet

Ruslan Safarov I have deployed a spring boot application on Virtual Machine which is running locally but not accessible via internet. http://x.x.x.x:8080 Added an inbound rule in the network interface of the Azure portal and also in the firewall. Ruslan Safaro

Can't access Flask server hosted on Azure virtual machine

hard disk I have a Flask server hosted on my Azure virtual machine. if __name__ == '__main__': app.run(debug=True, host="127.0.0.1", port=4400) On the vm, I can access the server at the address 127.0.0.1:4400. Now I want to be able to access this server f

Can't access internet on my virtual machine using VMWare

Sergio Tapia On my physical laptop, I have both Windows 7 and VMWare7 installed. Now I created a virtual machine and installed Linux Mint 9 on it and everything works fine on that virtual machine. When I try to access the internet from inside my VM, I don't ha

Strangely I can't ping my gateway from the linux virtual machine

good user Assume the following situation: Gateway IP:10.0.0.60 Host IP (Win7):10.0.0.81 Guest 1 (VMWare-Linux-Kali) on this host:10.0.0.16 Guest 2 (VMWare-Win7) on this host:10.0.0.27 The gateway is the Kerio server. question: I can't ping the gateway from the

Strangely I can't ping my gateway from the linux virtual machine

good user Assume the following situation: Gateway IP:10.0.0.60 Host IP (Win7):10.0.0.81 Guest 1 (VMWare-Linux-Kali) on this host:10.0.0.16 Guest 2 (VMWare-Win7) on this host:10.0.0.27 The gateway is the Kerio server. question: I can't ping the gateway from the

Virtual machine can only ping PFSense router and Windows Server

blind loop I have a virtualbox network: PFSense with 2 adapters: NAT and internal network (Lan on PFSense set to 10.0.0.1/24) - Windows 2016 (internal network) (10.0.0.2) - 3 Windows 7 machines (internal network) (static IP . 3, . 4, .5) Gateway is also set to

Virtual machine can only ping PFSense router and Windows Server

blind loop I have a virtualbox network: PFSense with 2 adapters: NAT and internal network (Lan on PFSense set to 10.0.0.1/24) - Windows 2016 (internal network) (10.0.0.2) - 3 Windows 7 machines (internal network) (static IP . 3, . 4, .5) Gateway is also set to

Can't get dhcp ip in virtual machine on virtual machine

huge I have a copy of a Debian virtual machine I got from a friend. He said that all the packages needed for the network are in the virtual machines he provides (ie SSH packages, web server, SQL server, mail server, etc.). I tried it on my own virtual box. It

Can't get dhcp ip in virtual machine on virtual machine

huge I have a copy of a Debian virtual machine I got from a friend. He said that all the packages needed for the network are in the virtual machines he provides (ie SSH packages, web server, SQL server, mail server, etc.). I tried it on my own virtual box. It

Can't access Django website

Chaitanya Krishna I am running the server in c9 (django workspace). no error, it says Start the development server at http://127.0.0.1:8000//. However, when I open this website, it says Unable to reach this site 127.0.0.1 Connection refused. Can anyone help me

vagrant can't connect to virtual machine

Milos Lukacka EDIT6 : Filed an official path bug : https://github.com/mitchellh/vagrant/issues/7512 EDIT5: When I execute vagrant destroyand vagrant up, everything goes easy. However, when I turn off the VM and turn it back on (one day you have to restart the

vagrant can't connect to virtual machine

Milos Lukacka EDIT6 : Filed an official path bug : https://github.com/mitchellh/vagrant/issues/7512 EDIT5: When I execute vagrant destroyand vagrant up, everything goes easy. However, when I turn off the VM and turn it back on (one day you have to restart the

Can't connect to homegroup vmware virtual machine

FrenkyB I'm using Windows 7, 32x in a VMWare 10.0 virtual machine. I want to connect to the homegroup and enter the homegroup's password - after that, I get some errors about the network, but no specific instructions -> I can't connect to the homegroup at all,

vagrant can't connect to virtual machine

Milos Lukacka EDIT6 : Filed an official path bug : https://github.com/mitchellh/vagrant/issues/7512 EDIT5: When I execute vagrant destroyand vagrant up, everything goes easy. However, when I turn off the VM and turn it back on (one day you have to restart the

Can't get into virtual machine with putty

Sassriverrat There are many threads on this...I've been reading them all. This is what I have, maybe someone can help. I am trying to build an OpenWRT image and am struggling. I have a virtualbox machine running on alpine. User root (obviously) and created a n

Can't connect to homegroup vmware virtual machine

FrenkyB I'm using Windows 7, 32x in a VMWare 10.0 virtual machine. I want to connect to the homegroup and enter the homegroup's password - after that, I get some errors about the network, but no specific instructions -> I can't connect to the homegroup at all,

vagrant can't connect to virtual machine

Milos Lukacka EDIT6 : Filed an official path bug : https://github.com/mitchellh/vagrant/issues/7512 EDIT5: When I execute vagrant destroyand vagrant up, everything goes easy. However, when I turn off the VM and turn it back on (one day you have to restart the