#Local network access of my app

9 messages · Page 1 of 1 (latest)

harsh python
#

Hello, I'm trying to access my application from another device than the one I'm running the dev script from, but the requests are timing out. I'm under the impression the app should be accessible from the local network by default, isn't that the case?
Source 1: #💬・general message
Source 2 (see attachment)

Below is my nuxt config

// https://nuxt.com/docs/api/configuration/nuxt-config
// noinspection JSUnusedGlobalSymbols
export default defineNuxtConfig({
  devtools: { enabled: true },
});
#

below is the error (I have the same whether I try accessing 179.19.64.1:3000, 192.168.1.12:3000, or the mac address + port 3000)

harsh python
#

additionnally, accessing those addresses from my dev machine works

harsh python
#

You might need to do some port forwarding on your network

nova yoke
#

or if you want... a simple way is use ngrok ( but it will be available to all internet. )

harsh python
#

I don't think making my dev environment publicly available is the direction I want to take. But overall, you think the issue is related to my network, not my nuxt config?

#

yes

#

alright, I'll look into it. But it's the first time that's ever happened to me, so I don't really know where to start, apart from googling "network port forwarding"

radiant nimbus
#

Is your device you’re trying to access from on the same network as the device that’s running nuxt?