-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Not able to access without port number(:8080) #612
Comments
To do this, pass in |
@NoahAndrews Thanks for the suggestion, but whenever I'm trying to provide the port number different than 8080, I'm getting errors while starting the server connection and same result I got when I tested with "80" port. Getting error while binding InetSocketAddress to ServerSocket, here are the code:
And here are the error logs :
I have tried to find the solution for this error and found this error appears when the app don't have Internet permission( |
Oh, binding to ports below 1024 typically requires root permissions on Linux, so you'd have to root your phone for that to work on Android. If you're looking to distribute the app widely, you're going to be stuck with 8080. I actually work for a company that sells an Android device that you access over port 8080, and I don't think we really get any complaints about having to specify the port. |
Thanks for your help. |
Hi,
I have searched everywhere but can't figure out how to do this.
Basically, I want to remove the :8080 from my URLS so my portal will be ready for deployment. When I type in http://191.161.43.159/ I want to access the portal, rather than typing in http://191.161.43.159:8080
How does one do this?
Any advice would be great!
Thanks in advance,
Kishan Singh
The text was updated successfully, but these errors were encountered: