You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.
On my computer I've setup an ad-hoc wi-fi network and I have build a meteor app with the purpose of simulating a deployment to my pc and to see how an meteor build android app will interact with the server.
But both when I try to visit from another device connected to ad-hoc network using curl I receive:
HTTP/1.1 302 Found
Location: https://10.42.0.1/
Access-Control-Allow-Origin: *
Date: Thu, 24 Aug 2017 11:08:50 GMT
Connection: keep-alive
Transfer-Encoding: chunked
Also when I visit through browser in the computer connected to the ad-hoc network for some reason gets redirected into https connection to default port ingoring port 8080. But on the computer that runs the server if I visit http://0.0.0.0:8080 it gets served correctly.
Also I tried theese commands to debug if there is any network error (please keep in mind that I run ubuntu linux 16.04 that also serves the ad-hoc wireless network):
On the ad-hoc serving computer I setup a netcat to listen into port 8080
nc -4 -k -l -v 10.42.0.1 8080
Then on another computer connected into the ad-hoc (rasberrypi) wi-fi I run:
nc 10.42.0.1 8080
Then whatever I typed into the promt I could see it into the ad-hoc serving machine therefore is not ad-hoc's fault or firewall closed port.
Furtermore If I run the app through meteor run command then on the rapberrypi's browser when I visit the http://10.42.0.1:3000 url it works just fine.
Do you fellows have an Idea why that happens?
The text was updated successfully, but these errors were encountered:
pc-magas
changed the title
Cannot connect into another port in my local network
Cannot serve the built app through an ad-hoc local network
Aug 24, 2017
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
On my computer I've setup an ad-hoc wi-fi network and I have build a meteor app with the purpose of simulating a deployment to my pc and to see how an meteor build android app will interact with the server.
Therefore I typed I run:
Afterwards I run:
I also tried:
But both when I try to visit from another device connected to ad-hoc network using
curl
I receive:Also when I visit through browser in the computer connected to the ad-hoc network for some reason gets redirected into https connection to default port ingoring port 8080. But on the computer that runs the server if I visit http://0.0.0.0:8080 it gets served correctly.
Also I tried theese commands to debug if there is any network error (please keep in mind that I run ubuntu linux 16.04 that also serves the ad-hoc wireless network):
On the ad-hoc serving computer I setup a netcat to listen into port 8080
Then on another computer connected into the ad-hoc (rasberrypi) wi-fi I run:
Then whatever I typed into the promt I could see it into the ad-hoc serving machine therefore is not ad-hoc's fault or firewall closed port.
Furtermore If I run the app through
meteor run
command then on the rapberrypi's browser when I visit the http://10.42.0.1:3000 url it works just fine.Do you fellows have an Idea why that happens?
The text was updated successfully, but these errors were encountered: