Core: How i can open adonis from other device in my network

Created on 27 Dec 2016  路  6Comments  路  Source: adonisjs/core

Hello,
when i open my adonis server it work successfully from localhost with 'http://localhost:3333/'
but when i open it from other pc in my network by my local network ip address like 'http://192.168.1.12:8080/' not working
i want any way to open it by my local network ip or any other way.

Most helpful comment

Make sure you change localhost to 0.0.0.0 inside .env file.

All 6 comments

Hello,

Have you tried 'http://192.168.1.12:3333/' ? Currently my Virtual Host IP is 192.168.1.5 and I can access http://192.168.1.5:3333/ Plz cross check.

Make sure you change localhost to 0.0.0.0 inside .env file.

Make sure you change localhost to 0.0.0.0 inside .env file.

here it did not work, can anyone help me?

image

windows firewall :)

Dourgmarcolino voce bota o HOST= 0.0.0.0 e restarta o serve que funciona.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Extarys picture Extarys  路  4Comments

navdeepsingh picture navdeepsingh  路  3Comments

themodernpk picture themodernpk  路  3Comments

devcaststudio picture devcaststudio  路  3Comments

itsg2jakhmola picture itsg2jakhmola  路  3Comments