On the NetBeans IDE page, in the Services window, right-click the GlassFish V2 node and choose Start.
Wait until the following message appears in the Output window:
"Application server startup complete."
When the server is running, the IDE displays a green arrow icon on the GlassFish V2 node.