Tag: networking

63 votes
5 answers
382 views
How can I expose more than 1 port with Docker?

So I have 3 ports that should be exposed to the machine's interface. Is it possible to do this with a Doc

avatar
Lashawna
0 1 0 9
asked 07 September, 2021
43 votes
30 answers
2.4K views
From inside of a Docker container, how do I connect to the localhost of the machine?

So I have a Nginx running inside a docker container, I have a mysql running on localhost, I want to connect to

avatar
Hilario
0 1 0 9
asked 07 September, 2021
55 votes
30 answers
1.9K views
How can I fix 'android.os.NetworkOnMainThreadException'?

I got an error while running my Android project for RssReader. Code: URL url = new URL(urlToRssFeed); SAXPa

avatar
Rudy
0 1 0 9
asked 07 September, 2021
52 votes
5 answers
2.6K views
How can a web server handle multiple user's incoming requests at a time on a single port (80)?

How does a web server handle multiple incoming requests at the same time on a single port(80)? Example : At t

avatar
Trudy
0 1 0 9
asked 07 September, 2021