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

Files cannot be accessed by shareFilesFromDirectory method #246

Open
hipposan opened this Issue Jun 14, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@hipposan

hipposan commented Jun 14, 2017

The code is
server["/"] = shareFilesFromDirectory(MyPath) server.start(8080)
Then open browser and type "http://127.0.0.1", nothing happened?

@SmileAppDev

This comment has been minimized.

Show comment
Hide comment
@SmileAppDev

SmileAppDev Jun 15, 2017

Did you try http:127.0.0.1:8080 ? or localhost:8080.

SmileAppDev commented Jun 15, 2017

Did you try http:127.0.0.1:8080 ? or localhost:8080.

@hipposan

This comment has been minimized.

Show comment
Hide comment
@hipposan

hipposan commented Jun 16, 2017

@SmileAppDev Yes, I tried.

@dntbrsnbl

This comment has been minimized.

Show comment
Hide comment
@dntbrsnbl

dntbrsnbl Jul 14, 2017

Did you include the port number in the address? (e.g. http://localhost:8080/ instead of http://localhost/)
Were you connecting from the same machine that you were running the code on?
If it was on iOS, was the app in the foreground when you attempted to connect?

dntbrsnbl commented Jul 14, 2017

Did you include the port number in the address? (e.g. http://localhost:8080/ instead of http://localhost/)
Were you connecting from the same machine that you were running the code on?
If it was on iOS, was the app in the foreground when you attempted to connect?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment