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;








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?










share|improve this 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

















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?










share|improve this 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













0












0








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?










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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












  • 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












1 Answer
1






active

oldest

votes


















1
















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.






share|improve this answer

























  • By definition, an application listening for a connection is a server.

    – James K Polk
    Mar 28 at 19:49














1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1
















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.






share|improve this answer

























  • By definition, an application listening for a connection is a server.

    – James K Polk
    Mar 28 at 19:49















1
















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.






share|improve this answer

























  • By definition, an application listening for a connection is a server.

    – James K Polk
    Mar 28 at 19:49













1














1










1









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.






share|improve this answer













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.







share|improve this answer












share|improve this answer



share|improve this answer










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

















  • 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








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.





Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현