ports

How do ports work with IPv6?

狂风中的少年 提交于 2019-11-27 10:55:28
问题 Conventional IPv4 dotted quad notation separates the address from the port with a colon, as in this example of a webserver on the loopback interface: 127.0.0.1:80 but with IPv6 notation the address itself can contain colons. For example, this is the short form of the loopback address: ::1 How are ports (or their functional equivalent) expressed in a textual representation of an IPv6 address/port endpoint? 回答1: They work almost the same as today. However, be sure you include [] around your IP.

how can an application use port 80/HTTP without conflicting with browsers?

落爺英雄遲暮 提交于 2019-11-27 10:33:41
If I understand right, applications sometimes use HTTP to send messages, since using other ports is liable to cause firewall problems. But how does that work without conflicting with other applications such as web-browsers? In fact how do multiple browsers running at once not conflict? Do they all monitor the port and get notified... can you share a port in this way? I have a feeling this is a dumb question, but not something I ever thought of before, and in other cases I've seen problems when 2 apps are configured to use the same port. There are 2 ports: a source port (browser) and a

How do I redirect from Apache to Tomcat?

自闭症网瘾萝莉.ら 提交于 2019-11-27 05:05:22
问题 I'm working on my first Java site. I'm running Apache Tomcat on port 8080, and Apache HTTPD on port 80. The current URL that I can access the site at is (for example) 123.4.5.6:8080. I want to remove the port number from the URL before I point the domain at the new IP. At the moment I am only using Apache for phpmyadmin, however I plan on using it for CGI scripts and other stuff once I figure out mod_jk etc... So I don't want to change Tomcat's port to 80 and turn off Apache. I hope this

How to configure Apache Spark random worker ports for tight firewalls?

六月ゝ 毕业季﹏ 提交于 2019-11-27 01:59:13
问题 I am using Apache Spark to run machine learning algorithms and other big data tasks. Previously, I was using spark cluster standalone mode running spark master and worker on the same machine. Now, I added multiple worker machines and due to a tight firewall, I have to edit the random port of worker. Can anyone help how to change random spark ports and tell me exactly what configuration file needs to be edited? I read the spark documentation and it says spark-defaults.conf should be configured

how can an application use port 80/HTTP without conflicting with browsers?

假如想象 提交于 2019-11-26 15:13:42
问题 If I understand right, applications sometimes use HTTP to send messages, since using other ports is liable to cause firewall problems. But how does that work without conflicting with other applications such as web-browsers? In fact how do multiple browsers running at once not conflict? Do they all monitor the port and get notified... can you share a port in this way? I have a feeling this is a dumb question, but not something I ever thought of before, and in other cases I've seen problems