I'm trying to launch a project in netbeans but I keep getting the error
"Could not connect to admin listener for GlassFish server 3.1 Verify that NetBeans can make outbound connections to localhost:4848"
I've been tackling glassfish server problems since morning. Has anyone encountered this problem before?
you can easily resolve this problem by changing the port number of glassfish. Go to glassfich configuration File domain. xml which is located under GlassFish_Server\glassfish\domains\domain1\config . replace 8080 by 9090 for example, then save file and run glassfish again.
To update GlassFish you will need to: Download GlassFish separately. Unzip it to a location of your choice. Add it to netbeans manually by right-clicking "servers" and choosing "Add Server"
It might be because you have downloaded the Netbeans without the Glassfish server. You can get the Netbeans with the Glassfish server from this link.
I encounted the same problem. It was because the server takes over the proxy settings of the IDE by default. You can deselect it by going to GlassFish Server 3.x properties and then click on the java tab ==> deselect Use IDE's proxy settings.
Afther that i could deploy my application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With