Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to the router #64

Open
asoko2 opened this issue Apr 25, 2020 · 4 comments
Open

Unable to connect to the router #64

asoko2 opened this issue Apr 25, 2020 · 4 comments

Comments

@asoko2
Copy link

asoko2 commented Apr 25, 2020

I try the test script, I got 'Unable to connect to the router' result.
I have disabled my firewall, set outbound rule for apache and PHP, still can't get it work.

What's wrong?

Thanks

@boenrobot
Copy link
Member

There may be a firewall rule at the router as well.

If it's not in the same LAN as PHP, but is instead accessing the router via a WAN interface, there definetly is one by default.

@asoko2
Copy link
Author

asoko2 commented Apr 26, 2020

The router and my PHP web server are at the same LAN. And also, the firewall rule is still the default.
I didn't change any firewall rules except adding NAT rule for WAN connection.

This is my firewall rule
https://imgur.com/gYD8Qzg

And here is the NAT
https://imgur.com/pUvJftQ

@boenrobot
Copy link
Member

Ah. You're in the same LAN, but have a hotspot there.

The device PHP is running on needs to be allowed by the hotspot, be it via a login, or a bypass rule in ip-bindings.

@asoko2
Copy link
Author

asoko2 commented Apr 27, 2020

Can you show me how to do it? Allow the PHP to connect via the hotspot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants