About  localhost and port number

following jdbc:microsoftLsqlserver:// , why is the host name localhost and the port number is 1433? how to change the port number into others? please help
thanks

"localhost" is usually but not always set up as a hostname for current host, and resolves to the IP address 127.0.0.1
You can connect to any host or port you want (that has a database running on that port), just change the values in the connection URL.
If your question is "how can I get SQL Server to run using a different port", you'll need to consult Microsoft's documentation for that.

Similar Messages

  • Getting host name and port number from application

    Does anyone know how I would be able to get the host name
    and port number from an application launched by java webstart ?
    This is the host and port of the URL that this application is launched from.

    A couple of suggestions:
    -The note is about 6.40. Doesn't fit for your server
    -Don't!
    -Reinstall!
    Regards,
    Benny

  • Getting host name and port number from an application

    Does anyone know how I would be able to get the host name
    and port number from an application launched by java webstart ?
    This is the host and port of the URL that this application is launched from.

    A couple of suggestions:
    -The note is about 6.40. Doesn't fit for your server
    -Don't!
    -Reinstall!
    Regards,
    Benny

  • Application server name and port number

    Hi
    Is it possible to get the application server name(ip) and port number at runtime. Becuase i want to open an html file which is in the application server, when a button is pressed by using web.show_document ();
    Can anyone guide me please.
    Thanks in advance
    geethu

    application server name and port number

  • Replacing Host Name and Port number throughout Environments

    So I am currently working on a project that have several classes using simple JDBC code. I'm switching all of it to use JNDI instead of what is currently being used. I'm using Weblogic and the plan is to have the code run in a cluster.
    Here is a code Snippet of some of the code.
    Context ctx = null;
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL,
    "t3://hostname:port");
    My problem lies in the the "t3://hostname:port" String. I don't want to hardcode that since I know its bad code practice but my question is what is the best way to replace that with the Host Name and Port number as I move environments. Should I have a Class with a Static Variable and just reference that through the other classes or should I put it in some Property file and read the value from there? Any insight into this would be greatly appreciated.
    Thank you.

    would it be something like this?
    Properties properties = new Properties();
              try {
         properties.load(new FileInputStream("src/jndi.properties"));
         String url = properties.getProperty("url");
         System.out.println(url );
         } catch (IOException e) {
         }

  • Getting WLS host url and port number

    Hello Experts,
    I need to forward an authenticated request to JAAS LoginModule. How can I get wls host name and port numbe in the LoginModule?
    Thank you in advance,
    Thanks for reading my post

    Hi friends.
    I have used the last post, but it is not working.
    Mat be the API had changed.
    What class or interface could give me this data in web dynpro component?
    Too, I'm using the SAP NetWeaver Developer Studio
    Version: 2.0.16
    Build id: 200602130353
    Thank you.
    Manuel Loayza
    Living La Vida JAVA
    Edited by: Manuel  Loayza Gahona on Jul 23, 2008 6:54 PM

  • Given raw IP and port number,create a scoket.

    Dear All,
    Given a raw IP number 126.124.35.41 and port number 1950,how to create a socket? I am going to use
    Socket s = new Socket(InetAddress address, int port)
    I know the key is to use raw IP to create a InetAddress. But how?
    Thanks a lot.
    Kevin

    By the way, if you like to get InetAddress, you can do it by
    InetAddress address= InetAddress.getByName("126.124.35.41");

  • About the essbase port number

    Hi, I hope someone can give me an answer about it. I am looking for the data of the default essbase port number. I would like to know which is the number and whether it can be changed.Finally, if I have 15 licences for connections, the ports assigned grow sequentialy?Thank you in advanceRicardo

    Hi RicardoThe default port for the Essbase agent is 1423. Server connections use ports 32678-33678 incrementing by 1.If you are on 6.2 or above you can alter these settings using the following configuration file settings:AGENTPORTSERVERPORTBEGINSERVERPORTENDPORTINCHope this helpsMark Rixon www.analitica.co.uk

  • Visual Voicemail gone after upgrade to 2.0 (and porting number)

    Anyone else experience this? I upgraded to 2.0 and at the same time I ported the old iPhone to another cell phone number on my account with ATT. The upgrade to 2.0 and porting appeared to go OK as everything else is working EXCEPT when on the phone application, I can not get the visual voicemail button to do anything. I press it and it acts like it is taking some time to open but it never brings up the visual voicemail screen. The phone part works as usual in all other ways.

    I upgraded to the pre-release version of 2.0 and it worked fine. Then this morning i tried to update to the official 2.0 and it could not connect to iTunes, and that pinwheel kept spinning. So I pressed home button and power button until it (iPhone) rebooted. Then i connected it to iTunes and it asked me to restore.... So i pressed the option key (in mac, idk what it is in windows) and selected the prerelease version to downgrade to and now its fine. So...... good luck all

  • How to get the Host name and port number

    Hi all,
    I am working in xRPM. I need to get the server name, host name & port number for the portal and i need to diaplay as a link in the Workflow step. I cant give the portal link as static, as it will vary depends on the DEV, QUAL, PROD. Is there any FM or class is available, so i can get the server name, port no. for my purpose?.
    Regards,
    Vinoth

    Hi Kanagaraja,
    My client has configured the portal and backend in different stack. So when i execute the FM you provided and with class: CL_HTTP_SERVER, CL_WD_UTILITIES, i am getting only the backend host name and port no. not the portal's info. So please help is there any way we can get the portal's info.
    Thanks for your reply.
    -Vinoth

  • Given IP and port number, Is there a way to find the service name?

    Hi,
    In the Java language, if I am given the IP and the Port number, is there way to lookup the corresponding service name?
    thanks, grace

    There are a number of standard services by port number. You can get that from /etc/services on any nx system and put it into a map or array. That list doesn't change all that often.
    In general though, as Dave says, no.
    Assuming the service is not one of the standard ones and the same port may provide different services on different IP addresses, there would need to be some standard protocol for naming services that you could access at those IPs--either a "list of ports/services" service that's at a known port, or a request/response that would be standard across all IPs and ports. As far as I know, neither of those exist.

  • HNSC and Port number will not open on one farm server, why?

    I have a farm with six servers, two app, two wfe, and two cache.
    on the app server that the HNSC web application was created on, I am unable to browse to the web app and port url.  I believe this is why Search that runs on that server, only, is unable to crawl anything, because it cant navigate to
    https://hnsc.beaversoil.com:1001.
    on any of the other servers, you can logon and navigate to
    https://hnsc.beaversoil.com:10001 no problem
    Alternate access mappings are as follows:
    https://bvrPsp15app01.beaversoil.com:1001         Default      
    https://hnsc.beaversoil.com:1001  
    https://bvrPsp15app02.beaversoil.com:1001         Default     
    https://hnsc.beaversoil.com:1001
    https://hnsc.beaversoil.com:1001                         Default    
    https://hnsc.beaversoil.com:1001
    https://hnsc.beaversoil.com                                
    Intranet    https://hnsc.beaversoil.com
    You can navigate to the site on port 443 from any of the servers in the farm, but you can not navigate to the web app and port (hnsc.beaversoil.com:1001) from the app01 server.  You can reach that url from the other servers in the farm.
    I thought of moving search off APP01 and then disconnecting the app01 server from the farm, to see if would fix on reconnecting it; but, am afraid the issue may reside in the config database.  Not sure.
    Have tried:
    running psconfig
    and
    rebuilding the hnsc and rejoining the 30 or so hnsc back.  Each hnsc has its own db.
    Please advise on how I can get it so I can reach hnsc.beaversoil.com:1001 from bvrPsp15app01.beaversoil.com
    Stacy Anothersharepointblog.blogspot.com

    SharePoint foundation web application service is started
    wf.msc shows port 1001 open for anything inbound
    I don't have creds to check the eset file security, cant even look at it, will have to check with server admin tomorrow about this
    telnet acts like it connects but will not display anthing for servers other than app01
    on app01 is acts like it is hung and when you try to type a command, it just give a bar on each enter.
    These are the results from netstat -ano | find "1001"
    TCP
    0.0.0.0:1001
    0.0.0.0:0
    Listening
    4
    TCP
    10.1.84.84:1001
    10.1.84.75:62064
    Established
    4
    TCP
    [::]:1001
    [::]:0
    Listening
    4
    PID 4 is for system
    IIS worker process is PID 1540
    Im not sure Im doing the telnet correctly, have the host file modified, open telnet as admin, type open bvrpsp15app01.beaversoil.com 1001 press enter
    then it says press any key to continue, press any key, then type display
    when connecting to app01, just get a bar
    when connection to another server, nothing happens after typing display and pressing enter.
    I have to get back to this tomorrow, need a break, but thanks in advance for any reply or for next thoughts on this.  What about my thought on search
    > Do you think not being able to browse hnsc:Port is why search is unable to crawl? 
    Stacy www.sharepointpapa.com

  • Suggestion for new version: SID name and port number

    Hi, I suggest that XE 11g installer optionally request a name from SID (XE by default) and a port number (1521 by default), it would be easier to have two different editions of Oracle Database on the same machine.
    Roberto
    Edited by: rober584812 on Apr 3, 2011 2:41 PM

    >
    Hi, I suggest that XE 11g installer optionally request a name from SID (XE by default) and a port number (1521 by default), it would be easier to have two different editions of Oracle Database on the same machine.
    >
    Please Read Me
    >
    Quote from manual:
    Only one installation of Oracle Database XE can be performed on a single computer. This does not affect any existing installation or new installations of Oracle Database 11g Standard Edition, Oracle Database 11g Standard Edition One, or Oracle Database 11g Enterprise Edition.
    >
    Regards,
    Phiri

  • Change portal URL and port number

    Hello experts,
    We are on  EP 7.0 which is running on Solaris 5.10 and Oracle 10g.
    Portal url is "http://hostname:50200/irj".
    But we want to users to logon portal using "http://intranet" link.
    How can we forwards portal default url to  a different URL and port such as "http://intranet".
    Steps should be followed in Visual Admin& Config Tool or  in the Solaris system , in the network part?

    The link pointed to how to change the default page of the Java engine to launch the portal. The example redirects to /irj/portal/anonymous - you just want to make it /irj/portal...
    Setting up SAP Web Dispatcher is covered in SDN quite well - search for SAP Web Dispatcher in the search aree on the right. Basically it takes about 5 minutes to setup.
    Cheers

  • Preorder and port number over from AT&T?

    My contract is up with AT&T. I want to pre-order an iPhone 6 and port my number to Verizon. Can I do this ordering through Apple,com? I'm not sure how this process works...

    Personally I would not port right now.
    Many people will be pr-ordering and quite frankly there is no phone in the world that I am going to jump through hoops to get.
    They will have them in the stores. If you are going to port out from AT&T I would say first wait until Apple has them in the stores (apple stores) and then go in and get one for the carrier of your choice.
    I would even go to a Verizon Corporate Store and do the port at the same time you buy the device. This would be the easy way. Are you looking at paying full price? Contract price? Edge Agreement? they are all to be considered.
    Good Luck

Maybe you are looking for

  • Ipod cannot be synced. The required file cannot be found

    Up until recently, the only thing there was wrong with my Ipod was the occasionally "100% freeze that only could be solved by draining the Ipod from battery", which it did less than three times a month. Then this sunday, when I was going to work (nig

  • How to modify default Space Around Component in NetBeans 6.0?

    Hi, Does anybody know how to modify the default Space Around Component in NetBeans 6.0? I use Panel and either they stick completely to the border or stand too far. I can't find any options to modify this in NetBeans 6.0. I have tried using the 'Spac

  • How to get max date field in the query

    Hi, We uploads the data into the cube every week. Basically we are planning to put some ticker on the query. This ticker will show the user, upto which date the data is available in the cube. I want the query, which will show me only the maximum date

  • Error on maxextents in table...

    hi, I created this tablespace: CREATE TABLESPACE TBS DATAFILE 'C:\....\XXX01.dbf' SIZE 500M REUSE DEFAULT STORAGE (INITIAL 10240 NEXT 10240 MINEXTENTS 1 MAXEXTENTS 256 PCTINCREASE 0) ONLINE; When I try to insert a new record in table ST I get this er

  • After needing to re-boot I have no sound on my I pad

    After needing to re-boot my I pad I have no sound.