I can not connect to my xampp database with an external device

0

I am developing an application that connects to a database hosted on my own PC, via Xampp. In my home I do not have an ADSL connection and I use the shared connection of the mobile phone. In Xampp I use port 8080 and 4433 as an alternative. When I try to enter data to the database from the mobile itself that use wifi connection, with the local IP I have no problems and the insert is correct, so I think the php and mysql documents are correct. When I do the same but with a different mobile, with another connection, of course, I can not insert the data successfully, my connection is rejected by the website. I enter the following address in my browser: link ..... This IP is what I got from cualmiip.com. I tried disabling the antivirus and neither. Thank you very much for your interest, I await your answers!

    
asked by Martí Amat Vila 07.06.2017 в 07:01
source

1 answer

0

Hello I see something difficult what you want to do the way you want to do it, because here the device that is visible from the internet is the cell phone with which you share the internet service to your computer. cell phones are not as manageable as a router, because what you have to configure is that the traffic that arrives from the internet to the computer, in a router is easy because nothing else you check that local ip you have in your computer and you configure the tracking in the router or enable in some routers the DMZ mode (something like that) to the local ip of your computer so that all traffic is redirected to that local ip. Usually cell phones do not have these functions.

What I would recommend is that you open a hosting account, to do your tests. if you can not pay for whatever reason. exists hostiger gives you a free one without advertising, that the latter is important. also gives you: 2000 MB Space 100 GB Bandwidth Autoinstaller Without Ads Site Maker 2 Free MySQL Databases 2 email accounts. sub Domain free. AND IT'S FREE ...

Google it or follow this link to open your free account. Click here

Greetings.

    
answered by 07.06.2017 / 09:05
source