I'm developing an app that I will be used mainly on phones, so I need to connect to it through the localhost. Computer and phone are in the same WiFi.
I have the app running locally, not in an Shiny server, just through Rstudio.
I have tried runApp(port = 8080) which, in the computer lets me access through the browser by localhost:8080, the app works.
However when I try to access in my phone the same I get a localhost refused to connect ERR_CONNECTION_REFUSED.
I have very little knowledge of networks, so that's why this is bugging me so much.
Related
I am working with Minikube on VM (VirtualBox - Linux Ubuntu). I need to access the ONAP Portal App service's GUI through the internet browser, which I can't.
I have deployed ONAP Portal App on Minikube and now I want to access its GUI through the internet browser. There was no external IP when I looked at "kubectl get services". As I found I used the Minikube tunnel. Now, I have the external IP by the portal-app service (which is by the way same as the cluster IP), but I can't get to its GUI - the website is unreachable/unable to connect. Then I tried "minikube service portal-app --url", which showed me different IP with the correct port, but in the browser I got to the apache tomcat and not to the portal-app. What am I missing?
Thanks for any advice.
I have installed rstudio server on WSL on my host computer.
When i try to access to the rstudio server with my another computer, the access is being denied.
I can access to the server with my host computer either using "http://localhost:8787" or "http://[ip address]:8787", but why can I not access to it with my client device with "http://[ip address]:8787"?
The host computer is connnected to the network in my office and the client is connected to my mobile phone network. Is this perhaps the reason? I thought I would be able to work in exactly the same environment from any device anywhere with rstudio server. But, now I can just use it only with my host computer, which is not really different from using Rstudio desktop app on it.
Host computer:
Windows10
WSL2 (Ubuntu)
Client computer:
Windows11
I'm having a fritzbox with vpn and fritznas set up. From inside the local network as expected there is no problem, I can access the user interface as well as mounting the samba share.
But now I'm trying this from another network (but connected to the firtzbox via the built in vpn service) and I've got a situation which is very weird.
From my laptop I can connect via vpn and bring the user interface up, but I cannot login in the user interface (with the normal user interface password) neither can I mount my samba share.
But I'm sure that the vpn connection is set up properly since ssh to machines connected to the remote fritzbox works.
And now I've tried this too from my smartphone (connecting via vpn, log into the user interface and access the samba share) and there everything is quite fine.
Any suggestions what might cause these problems on the laptop (I'd say that something in the fritzbox is set up falsely but since it works on the smartphone, it has to be something on my laptop I think)? (I have tried everything I can think of but nothing works)
With best regards and thanks in advance
PS: My OS is Arch Linux
EDIT: It gets even stranger: If I change my setup from
Laptop -> WLAN -> VPN to
Laptop -> Hotspot of my Smartphone -> VPN it works again (but slow of course since now it is over the mobilenet of the smartphone)
I've installed VPN app on my genymotion device but when i launch the VPN app, the device blocked & stop working!
I've tried a few apps (nordvpn + expressvpn) + Free apps but the same problem when launch it it stops working.
Also, I've tried other virtual devices ... also the same problem!
I've changed the network mode to Bridge .. guess what? the same problem Haha
I record the problem so you can see this https://youtu.be/WidljanG5jk
Any help please
This happens when the VPN redirects the Host-only interface which Genymotion uses to communicate with VirtualBox. You need to change your VPN settings as explained at https://support.genymotion.com/hc/en-us/articles/360002718258-Genymotion-Desktop-and-VPN .
I'm working on a website whose main purpose is to be accessed from mobile phones. On my laptop I've installed XAMPP and work with it for development. If I want to check one of the websites from my Android Smartphone, so it connects through my home or work wireless network, which gave my laptop an internal IP.
I do not always have that network though, so my smartphone would need to find my laptop without that. Do I need to turn my laptop into an access point, so my smartphone can find and connect over a SSID or is there a different way?
You can use an application like localtunnel to tunnel your laptop's webserver over the Internet.
You can connect your laptop and smartphone to the same network: by
USB/Bluetooth/Wifi tethering, or by a shared external network.