1. Dart
2. dart:io
3. HttpServer
4. port property

##### HttpServer class

1. Constructors
2. listenOn
3. Properties
4. address
5. autoCompress
6. defaultResponseHeaders
7. first
8. hashCode
9. idleTimeout
10. isBroadcast
11. isEmpty
12. last
13. length
14. port
15. runtimeType
16. serverHeader
17. sessionTimeout
18. single
19. Methods
20. any
21. asBroadcastStream
22. asyncExpand
23. asyncMap
24. cast
25. close
26. connectionsInfo
27. contains
28. distinct
29. drain
30. elementAt
31. every
32. expand
33. firstWhere
34. fold
35. forEach
36. handleError
37. join
38. lastWhere
39. listen
40. map
41. noSuchMethod
42. pipe
43. reduce
44. singleWhere
45. skip
46. skipWhile
47. take
48. takeWhile
49. timeout
50. toList
51. toSet
52. toString
53. transform
54. where
55. Operators
56. operator ==
57. Static methods
58. bind
59. bindSecure

description

# port property Null safety

int port

The port that the server is listening on.

This is the actual port used when a port of zero is specified in the bind or bindSecure call.

## Implementation

    int get port;