Results 1 to 4 of 4
  1. #1
    lse123 is offline Senior Member
    Join Date
    Oct 2008
    Posts
    116
    Rep Power
    0

    Default is success view so I need to change ports on netbeans of the web service

    I get error:

    Java Code:
    Pet Insurance from WebPetCover
    
    --------------------------------------------------------------------------------
    javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://localhost/webpetcover/PetInsurance?wsdl. It failed with: Connection refused: connect.
    The http://localhost:8084/webpetcover/PetInsurance?wsdl
    is success view so I need to change ports on netbeans of the web service?

    App (error) is run from outside netbeans locally...

    http://localhost/webpetcover/PetInsurance?wsdl
    what port must inserted?
    80 ? how avoid normal www port 80 conflicts?

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,902
    Rep Power
    25

    Default

    What port does the server listen to? Is it 8084?

    What is your question? If it works with port 8084 and fails with port 80, why don't use use port 8084?

    Port 80 is the HTTP port

  3. #3
    lse123 is offline Senior Member
    Join Date
    Oct 2008
    Posts
    116
    Rep Power
    0

    Default

    I used to wsdl 8084 success run...well in Netbeans to change port I go Tools>Servers and 8080 and do a restart? if no port eg http://localhost/webpetcover/PetInsurance?wsdl
    means 8080 in localhost and 80 in non localhost?

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,902
    Rep Power
    25

    Default

    No, I think the default port for http protocol is 80 no matter what host.

Similar Threads

  1. change Look and feel in Netbeans 6.8
    By banhbaochay in forum NetBeans
    Replies: 5
    Last Post: 04-12-2010, 07:55 PM
  2. How enter this mode-gui/design-view/code-view
    By lse123 in forum NetBeans
    Replies: 0
    Last Post: 02-28-2010, 10:09 PM
  3. Replies: 2
    Last Post: 02-06-2010, 12:47 AM
  4. Replies: 0
    Last Post: 03-26-2009, 02:23 AM
  5. Display success message in same page when submit button is clicked
    By am17mu in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 03-29-2008, 11:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •