Take the 2-minute tour ×
English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.