localhost 4848, 8080 problem

38,074

Solution 1

All of your settings are in the domain.xml so you can look in there. However, the port (8262) your showing in your connection tab should be your admin console, so you can view the settings in there as well.

Solution 2

I think port number 8080 is not assigned to your application, you can assign 8080 to listen to your application by making changes into server.xml, file all you need to do is add a connector or modify the connector entry to listen to 8080 instead of 11494...!!

Share:
38,074
OckhamsRazor
Author by

OckhamsRazor

Updated on August 20, 2020

Comments

  • OckhamsRazor
    OckhamsRazor almost 4 years

    this might sound like a stupid question, but i want to clarify a concept: using netbeans 6.9, ive successfully completed a web application project using a glassfish container (locally). when i run the project, everything works well, except it runs on http://localhost:11494/myApp/. should'nt the accessing task be on http://localhost:8080/myApp/? when i type http://localhost:8080/myApp/, it doesnt connect to localhost.. neither does http://localhost:4848 to access the admin console. why is this? i think my concepts on deployment are not that thorough. i didn't manually deploy anything.. thanks in advance!

    EDIT: right now, the university module im taking has lecture notes which specify manual deployment. id rather let netbeans handle deployment. perhaps this is the cause of the difference in port numbers?