Is there a way to communicate between server and client in Python without opening up ports? [closed]Is there a way to run Python on Android?What is the difference between a port and a socket?What's the canonical way to check for type in Python?What is the difference between Python's list methods append and extend?How to import a module given it's name as string?How do I return multiple values from a function?Proper way to declare custom exceptions in modern Python?Python progression path - From apprentice to guruWay to create multiline comments in Python?How to check if the string is empty?
What is the origin of the "being immortal sucks" trope?
Who are the people reviewing far more papers than they're submitting for review?
What are the end bytes of *.docx file format
Lumens specs when buying a flashlight/torch. Why maglite has only 680lm but cheap ones have 900,000?
What is the word for a person who destroys monuments?
Carroll's interpretation of 1-forms
Is it safe to put a microwave in a walk-in closet?
Amiga 500 OCS/ECS vs Mega Drive VDP
Does rpcpassword need to be non-obvious in bitcoind?
Can Brexit be undone in an emergency?
How can I check that parent has more than 1 child?
Can a Druid Wild Shaped as a horse use Horseshoes of Speed?
Madrid to London w/ Expired 90/180 days stay as US citizen
Is it possible that the shadow of The Moon is a single dot during solar eclipse?
What was the deeper meaning of Hermione wanting the cloak?
(How long) Should I indulge my new co-workers?
Is it worth the risk to apply to REUs? How likely am I to be accepted?
Paths Short or Long
Is it safe to unplug a blinking USB drive after 'safely' ejecting it?
Why do things cool down?
How could artificial intelligence harm us?
Inquiry answerer
merging certain list elements
Why are there two bearded faces wearing red hats on my stealth bomber icon?
Is there a way to communicate between server and client in Python without opening up ports? [closed]
Is there a way to run Python on Android?What is the difference between a port and a socket?What's the canonical way to check for type in Python?What is the difference between Python's list methods append and extend?How to import a module given it's name as string?How do I return multiple values from a function?Proper way to declare custom exceptions in modern Python?Python progression path - From apprentice to guruWay to create multiline comments in Python?How to check if the string is empty?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I was working on a decentralized python chat room. I was just wondering, if you don't open up a port, you can't receive messages. But, if you open up a port, you are vulnerable to getting hacked or something. So, is there a way to communicate with Python between a server and a client without opening up ports?
python sockets
closed as too broad by MisterMiyagi, m00am, Henry Woody, Paulo Mattos, mpromonet Mar 28 at 22:00
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment
|
I was working on a decentralized python chat room. I was just wondering, if you don't open up a port, you can't receive messages. But, if you open up a port, you are vulnerable to getting hacked or something. So, is there a way to communicate with Python between a server and a client without opening up ports?
python sockets
closed as too broad by MisterMiyagi, m00am, Henry Woody, Paulo Mattos, mpromonet Mar 28 at 22:00
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
2
"But, if you open up a port, you are vulnerable to getting hacked or something", well, I think that would be the least of your problems. Just use secure connections and that's all.
– Netwave
Mar 28 at 13:55
1
The vulnerability of open ports is not that they are ports, but that they are open. If you are open for any kind of communication, that leaves you vulnerable. You should focus on communicating securely, not on communicating without... erm... communicating.
– MisterMiyagi
Mar 28 at 14:17
add a comment
|
I was working on a decentralized python chat room. I was just wondering, if you don't open up a port, you can't receive messages. But, if you open up a port, you are vulnerable to getting hacked or something. So, is there a way to communicate with Python between a server and a client without opening up ports?
python sockets
I was working on a decentralized python chat room. I was just wondering, if you don't open up a port, you can't receive messages. But, if you open up a port, you are vulnerable to getting hacked or something. So, is there a way to communicate with Python between a server and a client without opening up ports?
python sockets
python sockets
asked Mar 28 at 13:52
CrypthusiastCrypthusiast
3210 bronze badges
3210 bronze badges
closed as too broad by MisterMiyagi, m00am, Henry Woody, Paulo Mattos, mpromonet Mar 28 at 22:00
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as too broad by MisterMiyagi, m00am, Henry Woody, Paulo Mattos, mpromonet Mar 28 at 22:00
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as too broad by MisterMiyagi, m00am, Henry Woody, Paulo Mattos, mpromonet Mar 28 at 22:00
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
2
"But, if you open up a port, you are vulnerable to getting hacked or something", well, I think that would be the least of your problems. Just use secure connections and that's all.
– Netwave
Mar 28 at 13:55
1
The vulnerability of open ports is not that they are ports, but that they are open. If you are open for any kind of communication, that leaves you vulnerable. You should focus on communicating securely, not on communicating without... erm... communicating.
– MisterMiyagi
Mar 28 at 14:17
add a comment
|
2
"But, if you open up a port, you are vulnerable to getting hacked or something", well, I think that would be the least of your problems. Just use secure connections and that's all.
– Netwave
Mar 28 at 13:55
1
The vulnerability of open ports is not that they are ports, but that they are open. If you are open for any kind of communication, that leaves you vulnerable. You should focus on communicating securely, not on communicating without... erm... communicating.
– MisterMiyagi
Mar 28 at 14:17
2
2
"But, if you open up a port, you are vulnerable to getting hacked or something", well, I think that would be the least of your problems. Just use secure connections and that's all.
– Netwave
Mar 28 at 13:55
"But, if you open up a port, you are vulnerable to getting hacked or something", well, I think that would be the least of your problems. Just use secure connections and that's all.
– Netwave
Mar 28 at 13:55
1
1
The vulnerability of open ports is not that they are ports, but that they are open. If you are open for any kind of communication, that leaves you vulnerable. You should focus on communicating securely, not on communicating without... erm... communicating.
– MisterMiyagi
Mar 28 at 14:17
The vulnerability of open ports is not that they are ports, but that they are open. If you are open for any kind of communication, that leaves you vulnerable. You should focus on communicating securely, not on communicating without... erm... communicating.
– MisterMiyagi
Mar 28 at 14:17
add a comment
|
1 Answer
1
active
oldest
votes
At least one of the client or the server should have an open port (typically, the server). As soon as a TCP connection is established (typically, by the client), a random (= chosen by the operating system) port will be used by the client to be reachable by the server.
By definition, an application listening for a connection is a server.
– James K Polk
Mar 28 at 19:49
add a comment
|
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
At least one of the client or the server should have an open port (typically, the server). As soon as a TCP connection is established (typically, by the client), a random (= chosen by the operating system) port will be used by the client to be reachable by the server.
By definition, an application listening for a connection is a server.
– James K Polk
Mar 28 at 19:49
add a comment
|
At least one of the client or the server should have an open port (typically, the server). As soon as a TCP connection is established (typically, by the client), a random (= chosen by the operating system) port will be used by the client to be reachable by the server.
By definition, an application listening for a connection is a server.
– James K Polk
Mar 28 at 19:49
add a comment
|
At least one of the client or the server should have an open port (typically, the server). As soon as a TCP connection is established (typically, by the client), a random (= chosen by the operating system) port will be used by the client to be reachable by the server.
At least one of the client or the server should have an open port (typically, the server). As soon as a TCP connection is established (typically, by the client), a random (= chosen by the operating system) port will be used by the client to be reachable by the server.
answered Mar 28 at 13:55
GuybrushGuybrush
1,4575 silver badges13 bronze badges
1,4575 silver badges13 bronze badges
By definition, an application listening for a connection is a server.
– James K Polk
Mar 28 at 19:49
add a comment
|
By definition, an application listening for a connection is a server.
– James K Polk
Mar 28 at 19:49
By definition, an application listening for a connection is a server.
– James K Polk
Mar 28 at 19:49
By definition, an application listening for a connection is a server.
– James K Polk
Mar 28 at 19:49
add a comment
|
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
2
"But, if you open up a port, you are vulnerable to getting hacked or something", well, I think that would be the least of your problems. Just use secure connections and that's all.
– Netwave
Mar 28 at 13:55
1
The vulnerability of open ports is not that they are ports, but that they are open. If you are open for any kind of communication, that leaves you vulnerable. You should focus on communicating securely, not on communicating without... erm... communicating.
– MisterMiyagi
Mar 28 at 14:17