English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Should I use dash in a port name, e.g. http-port, ftp-port, or it's more correct to omit the dash, like "http port", "ftp port"?

share|improve this question
up vote 7 down vote accepted

The "HTTP" is a singular adjective, so there's no need to connect the adjective with the noun. Only when there are two adjectives that modify the same verb and cannot do without one another, are they connected with a hyphen, (such as "greyish-green colour"). In this case, there's only "HTTP".

Unless, however, you are describing something with "HTTP port", such as a "HTTP-port USB". In which case, a hyphen would be correct. However, it's not very common usage:

enter image description here

It really depends on the context. As I say, if you are referring to "port" as the noun, then there is no need for a hyphen. If you are using "HTTP port" as an adjective, then a hyphen would be used.

share|improve this answer

In this case, port is the subject and http is the adjective; it follows that you do not hyphenate, since you would not join the subject and adjective. Hyphenation is used to combine multiple words into one, often to create an adjective or other compound word.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.