Use of policy file to connect to remote server

I am trying to use the socket.connect(serverURL, portNumber)
to connect to a server through telnet port 23. I am unable to
connect through port 23. please advise

I am trying to use the socket.connect(serverURL, portNumber)
to connect to a server through telnet port 23. I am unable to
connect through port 23. please advise

Similar Messages

  • SSRS 2008 - Unable to connect to remote server

    Win2k3 R2 SP2/SQL Server 2008 instance with SSRS/Visual Studio 2008
    I installed SQL 2008 and SSRS with native mode default configuration.
    All SQL 2008 services are running under "NT Authority\Network Service" account.
    When i try to deploy a new report, I get the "Unable to connect to remote server" error.
    The deploy operation creates empty folders on the web server (hosted by the SQL Server 2008 service)
    for e.g.
    my instance name is <machinename>$sql2008. i configured the WebService URL and the Reports Manager URL to port 85
    the deploy from VS creates ssrs2008Test folder and a Shared Data Sources folder in the following virtual directory
      - Report Manager URL: http://<machinename>:85/Reports_SQL2008/
      - Web Service URL: http://<machinename>:85/ReportServer_SQL2008
    however these folders are empty w/ no .rdl or .rds file. and i get the "Unable to connect to remote server"  error in Visual Studio 2008 when i deploy it.
    is there something else i have to tweak in either the SQL Server/SSRS Configuration Manager or the Windows Server Settings(like port settings or group policy) to get the reports to work?
    thanks
    -vt

    SecureConnectionLevel = 2
    From logFile:
    appdomainmanager!DefaultDomain!740!08/29/2008-08:00:30:: i INFO: Appdomain:6 ReportServer_SQL2008_0-3-128644956308203194 started.
    appdomainmanager!ReportServer_0-3!740!08/29/2008-08:00:31:: i INFO: RS authentication mode is 5; effective ASP.NET authentication mode is Windows. vdir=/ReportServer_SQL2008.
    httpruntime!ReportServer_0-3!740!08/29/2008-08:00:31:: i INFO: Report Builder manifest file C:\Program Files\Microsoft SQL Server\MSRS10.SQL2008\Reporting Services\ReportServer\ReportBuilder\ReportBuilder_2_0_0_0\MSReportBuilder.exe.manifest not found.
    appdomainmanager!DefaultDomain!740!08/29/2008-08:00:31:: i INFO: Appdomain:6 ReportServer_SQL2008_0-3-128644956308203194 initialized (#2).
    webserver!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Reporting Web Server started
    resourceutilities!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Reporting Services starting SKU: Developer
    resourceutilities!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Evaluation copy: 0 days left
    resourceutilities!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Running on 1 physical processors, 4 logical processors
    runningjobs!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Running Requests Scavenger timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    runningjobs!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Running Requests DB timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    runningjobs!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Memory stats update timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    library!ReportServer_0-3!1588!08/29/2008-08:00:38:: Call to GetItemTypeAction(/ssrs2008Test).
    library!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Catalog SQL Server Edition = Developer
    crypto!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Initializing crypto as user: NT AUTHORITY\NETWORK SERVICE
    crypto!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Exporting public key
    crypto!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Performing sku validation
    crypto!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Importing existing encryption key
    library!ReportServer_0-3!740!08/29/2008-08:00:39:: Call to GetItemTypeAction(/Data Sources).
    library!ReportServer_0-3!1588!08/29/2008-08:00:39:: Call to GetItemTypeAction(/Data Sources/masterDB).
    library!ReportServer_0-3!740!08/29/2008-08:00:40:: Call to GetItemTypeAction(/ssrs2008Test/sp_who2).

  • How to connect a remote server in my local pc?.

    I have a code to connect my server in visual basic 6.0 code, my sap version is 2007 A.
    Private Sub ConnectToCompany()
        '// Initialize the Company Object.
        '// Create a new company object
        Set oCompany = New SAPbobsCOM.Company
        '// Set the mandatory properties for the connection to the database.
        '// To use a remote Db Server enter his name instead of the string "(local)"
        '// This string is used to work on a DB installed on your local machine
        oCompany.Server = "(local)"
        oCompany.language = ln_English
        '// Use Windows authentication for database server.
        '// True for NT server authentication,
        '// False for database server authentication.
        oCompany.UseTrusted = True
        ChooseCompany.Show vbModal, Me
      End Sub
    but I want to connect my remote server and I didn't. Do i forgeting  something??... I changed "(local)" for my name remote server or my local Ip for remote server. But maybe my user name windows for autentication. there is Someone who can help me please. Which one is the correct data I need??

    hello freind
    i think yu are missing  company usernsme,password,db type like this code
    private void Connect()
                try
                    Cursor = System.Windows.Forms.Cursors.WaitCursor;//Change mouse cursor             
                    oCompany = new SAPbobsCOM.Company();               
                    oCompany.DbServerType =  (SAPbobsCOM.BoDataServerTypes.dst_MSSQL2008);
                    oCompany.Server = Properties.Settings.Default.ServerName.ToString();// change to your company server
                    oCompany.language = SAPbobsCOM.BoSuppLangs.ln_English; // change to your language
                    oCompany.UseTrusted = false;
                    oCompany.DbUserName = Properties.Settings.Default.UserID.ToString();
                    oCompany.DbPassword = Properties.Settings.Default.Password.ToString();
                    // Set connection properties
                    oCompany.UserName = txtUSer.Text;
                    oCompany.Password = txtPassword.Text;
                    oCompany.CompanyDB = Properties.Settings.Default.DatabaseName.ToString();            
                    //Try to connect
                    lRetCode = oCompany.Connect();
                    if (lRetCode != 0) // if the connection failed
                        int temp_int = lErrCode;
                        string temp_string = sErrMsg;
                        oCompany.GetLastError(out temp_int, out temp_string);
                    //  u.action_status("Connection Failed - " + temp_string, this);
                    if (oCompany.Connected) // if connected
                        this.Text = this.Text + " - Connected to " + oCompany.CompanyDB;
                        CheckUser();
                    Cursor = System.Windows.Forms.Cursors.Default; //Change mouse cursor         
                catch (Exception)

  • SharePoint Online - "Unable to connect to remote server"

    Hi,
    I have a Provider Hosted App which gets the data from a different site collection. Now, when i try to connect to a different site collection, the TokenHelper
    class gives me an error -  "Unable to connect to remote server". 
    The error is thrown in the below line:
    acsMetadata = webClient.DownloadData(acsMetadataEndpointUrlWithRealm);
    The above error is not thrown always. It throws occasionally. I am not getting the reason for this. Could anybody explain what is the problem, please? 

    Hi,
    According to your description, my understanding is that the error "Unable to connect to remote server" occurs in the WebClient.DownloadData Function.
    As this error throws occasionally, it should be related to the network issue, for a better troubleshooting, I suggest you can check the detailed error message using Fiddler.
    Fiddler
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Cannot connect to remote server

    When trying to make connection to remote server, I receive a
    message, "FTP, error, cannot make connection to host-Logon and
    Password are incorrect... However, settings are correct as I could
    get on in the past and when testing for remote site in site
    management the message states "Adobe DW Cs3 connected to your web
    server correctly".
    My OS is MAC 10.4.11 My site developer can get on with DW8
    using a PC and a MAC. Have tried everything short of deactivation
    and reinstall.

    Plese tell us what your remote site definition has in each
    field (you can
    omit the password).
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "TJMax412" <[email protected]> wrote in
    message
    news:gbtj7m$94l$[email protected]..
    > When trying to make connection to remote server, I
    receive a message,
    > "FTP,
    > error, cannot make connection to host-Logon and Password
    are incorrect...
    > However, settings are correct as I could get on in the
    past and when
    > testing
    > for remote site in site management the message states
    "Adobe DW Cs3
    > connected
    > to your web server correctly".
    > My OS is MAC 10.4.11 My site developer can get on with
    DW8 using a PC and
    > a
    > MAC. Have tried everything short of deactivation and
    reinstall.
    >

  • Suddenly, thunderbird doesn't connect to remote server when i click "get messages".

    Linux (ubuntu studio), 64 bit. Suddenly, thunderbird doesn't connect to remote server when i click "get messages". It just says "(account name): Connected to (mail server)" for a second or two at the bottom, then nothing. In the server logs, i get:
    popa3d[6408]: Didn't attempt authentication
    Trying to get my e-mail also seems to cause a bunch of these errors on the server:
    (server) kernel: [18295.775491] lockd: cannot monitor laptop
    where "laptop" is the client machine.
    The problem seems to be caused by my mailbox files (Inbox and Inbox.msf) - when i create a clean ~/.thunderbird directory, i can get my e-mails, but when i place my mailbox files in this account's Mail directory, the problem comes back. Even if i place it as another name, and not Inbox.

    I should add the following information:
    - Neither "safe mode" or rebuilding the global-messages-db.sqlite file fixes the problem.
    - Seamonkey has no problems with my Inbox and Inbox.msf file.
    - The Inbox and Inbox.msf files are symlinks to files on a NFS filesystem.
    - Downgrading to an earlier version of thunderbird doesn't fix the problem.
    - Even if i remove the mail file from an account, the problem persists.
    - I confirmed that i can telnet to the server on the pop3 port and login with the raw protocol.
    The above mentioned lockd errors make me think this is a NFS related error, but if that's the case, why is seamonkey able to read my Inbox file without problems but not thunderbird?

  • Connecting to remote server failed - WinRM client cannot complete the operation within the time specified

    Exchange 2010 SP2 Active DAG Node.  Cannot cannot to Exchange Admin Console with the following errors and these errors change from time to time ... and some times it works ...
    attempt to connect to http://DAGNODE.domain.com/powershell using "kerberos" authentication failed: connecting to remote server failed with the following message: The WinRM Client cannot complete the operation
    within the time specified. Check if the machine name is valid and is reachable over the network and firewall exception for windows remote management service is enabled.
    thanks,

    Hi,Philip,
    Are you running the DAG on Windows server 2008 R2?If so check the following KB to see if they apply to your issue
    http://support.microsoft.com/kb/976839
    http://support.microsoft.com/kb/2294243
    And you can check if the solutions in these old threads with similar error message do the trick for you.
    http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/54af902c-d718-4656-8a25-7c150e4b0e81/
    http://social.technet.microsoft.com/Forums/en-US/exchangesvradminlegacy/thread/baa1af25-001a-432d-86a0-25c05655e63c/
    Regards,
    Sharon
    Sharon Shen
    TechNet Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.

  • Sql loader issue(How to specify a file that exists on remote server)

    In sqlldr infile parameter I'd like to give a data file that exists on remote server.How can I specify???Please help me in the syntax.
    Any help would be greatly appreciated.
    Edited by: 792353 on Sep 24, 2010 7:22 AM

    sqlldr can accept any path that is VALID and it can be any type of share as long as the OS supports the share.
    so INFILE can be anything you want as sqlldr will simply attempt to access it via the OS.
    if you are on a linux box going to another linux box with an NSF mount point on the box running sqlldr simply reference:
    INFILE '/mountpoint/fname'
    Now I have never tried a UNC path before but I would guess that if you are on a windows box, going to another winddows box and the box running sqlldr was logged in with the right permissions it would simply be:
    INFILE '\\server\directory\file'
    I doubt that it will accept a URL as in:
    INFILE '//servername.com/directory/file'
    I don't think that sqlldr does anonymous ftp or htp file transfer protocol, but I could be wrong.
    NOTE: I have found that it is best to ALWAYS surround your INFILE parameter with single quotes.

  • Premiere Elements 8 "Could not connect to remote server" when sharing to YouTube

    I'm trying to share my Adobe Premiere Elements 8 video to YouTube through the task panel, but I get a "Could not connect to remote server" message. My computer is connected to the Internet. I notice at the bottom of the message there is "Open the Opera Help" and "Go to Opera's on-line support desk." I don't have Opera on this computer, so maybe that's it?

    No. You don't need Opera.
    Have you gone to Edit/Preferences and ensured that your Web Services are up to date?
    Otherwise, it could be that YouTube changed settings on us again. If that's the case, you'll need to post to it manually, per the FAQs to the right of this forum.
    http://forums.adobe.com/thread/390608?tstart=30

  • Connecting to remote server failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError $true -CurrentV

    I installed Exchange Server 2010 inside my VMWare Windows Server 2008 Ent R2. And After successful installation  when I try to open my Exchange Server Console, I am getting the following error message. I am very new to Exchange server please help me
    to solve this problem.
    Initialization Failed
    The following error occurred while searching for the on-premises Exchange server:
    [win-.local] Connecting to remote server failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError
    $true -CurrentVersion 'Version 14.1 (Build 218.15)''.
    Thanks Vivek
    SharePoint Foundation 2010 Book
    http://www.redpipit.com

    Hi,
    Please have a look at the article below:
    Troubleshooting Exchange 2010 Management Tools startup issues
    http://blogs.technet.com/b/exchange/archive/2010/02/04/3409289.aspx
    Resolving WinRM errors and Exchange 2010 Management tools startup failures
    http://blogs.technet.com/b/exchange/archive/2010/12/07/3411644.aspx
    Besides, please run the cmdlet below:
     set-user alias -remotepowershellenabled$true
    Xiu Zhang
    TechNet Community Support

  • Using an RMI Client to connect to a Server.

    I am using an RMI Client on my PC (using Eclipse 3.2) to connect to a Server on a Linux System.
    The Server is up and running and from the client side,I am reading all the server configuration into a variable and passing this variable into Naming,lookup.
    String lookUp =     "//" + prop.getProperty("rmi.hostName") +
                          ":" +  prop.getProperty("rmi.appPort") +
                          "/" +  prop.getProperty("rmi.appName);
    System.out.println(lookUp)   // Value://17.10.222.80:40009/RMIAPP
    Application a =  (Application)Naming.lookup(lookUp)     It is unable to connect to the Server.
    Am I missing anything? Have I overlooked any point?
    Thanks

    http://java.sun.com/docs/books/tutorial/rmi/index.html

  • Using a servlet to read a pdf file that is in remote server

    Hi,
    I read some topics about how to read a pdf file using a servlet...but my issue is that my pdf files are on a remote Sun solaris server (intranet) and my servlet will be in a public network (internet), so my question is, still be possible to use this solution to read my remote file ? how i can access the remote file ??
    any idea from where I can start ??
    best regards,
    carlos.

    You may use a FTP client component to connect with your servlet to the Sun server, retrieve the bytes and serve them to the browser. Instead of reading the stream from a local file, you will be reading from a network socket, but the code -if well written and designed- may be very similar.
    There are many good ftp client components for java, you may also use other protocols like HTTP or SCP (ssh file transfer).
    Regards,
    Martin Cordova
    http://www.martincordova.com
    Dinamica framework for J2EE
    - the easiest way to Java webapps...

  • How do you use .wsse policy file from Java Client?

    I'd like to call a WSSE enabled web service from my Java client but setup my encryption/signing requirements with a .wsse policy file.
    I know how to call a web service by programmatically setting up the security headers as described in:
    http://e-docs.bea.com/workshop/docs81/doc/en/core/index.html
    But how can I do the same thing by simply using a .wsse file?

    import java.awt.*;
    import java.applet.Applet;
    import java.awt.event.*;
    import java.net.*;
    public class links extends java.applet.Applet {
       Panel panel = new Panel();
       public links(){
          super();
          add(panel);
          Link link = new Link(this,"Answers for programmers;- ","http://forum.java.sun.com");
          panel.add(link);
       public void init(){
          setVisible(true);
       public class Link extends Label implements MouseListener {
          Applet applet;
          Color fcolor = Color.blue;
          Color lcolor = Color.pink;
          String text;
          String word;
       public Link(Applet ap, String s, String s1){
          super(s);
             this.applet = ap;
             this.text = s;
             this.word = s1;
             addMouseListener(this);
          setForeground(fcolor);
       public void paint(Graphics g){
       super.paint(g);
          if (getForeground() == lcolor){
             Dimension d = getSize();
             g.fillRect(1,d.height-5,d.width,1);
       public void update(Graphics g){paint(g);}
       public void mouseClicked(MouseEvent e){
          try{
             URL url = new URL(word);
             applet.getAppletContext().showDocument(url,"_self");
          catch(MalformedURLException er){ }
       public void mouseEntered(MouseEvent e){
          setForeground(lcolor);
          setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
          repaint();
       public void mouseExited(MouseEvent e){
          setForeground(fcolor);
          setCursor(Cursor.getDefaultCursor());
          repaint();
    public void mousePressed(MouseEvent e){}
    public void mouseReleased(MouseEvent e){}
       public static void main (String[] args){
          new links(); 
    }

  • How to connect to remote server with jmx from jvisualvm

    I have a WL 10.3.2 domain running on a single box. The adminserver and managed server are running on the same box, on different ports (7001 and 8001, respectively).
    I have a Spring application deployed to the managed server and I've configured it to register a Spring bean as a JMX mbean.
    When I run this entire configuration on my laptop, I can run jvisualvm and connect to my server and see and manipulate my registered mbean.
    I'm having trouble figuring out how to get a remote connection working, however. I want to run jvisualvm on my laptop and connect to the remote server.
    I first did "Add Remote Host", where I specified the IP address. It appears that this was created successfully, and it apparently was able to determine the DNS name for it.
    I then tried to add a JMX connection. In the "Connection" field, I just entered the IP address followed by a colon and 8001 (managed server port number).
    In the "Use security credentials" section, I entered the weblogic admin principal and credentials.
    When I click OK, it chugs for a while and eventually gives up, saying:
    Cannot connect to [email protected]:8001 using
    service:jmx:rmi:///jndi/rmi://nn.nn.nn.nn:8001/jmxrmi
    What might I be missing?

    I've resolved this. At least I was able to configure an authenticated connection. It doesn't use SSL yet, but I'm ok with that for a while.
    Resolving this only required changing the command line parameters for the managed server, and being aware of the "jmxremote.access" and jmxremote.password" files. The following blog article helped a lot: [http://www.dzone.com/links/r/monitoring_your_java_application_with_jmx_part_2.html] .
    I'm now passing the following command-line parameters:
    -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8888 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=true
    The default "role" configured in "jmxremote.access" is "controlRole", and the "jmxremote.password" file specifies the credentials for that principal. I simply used that principal and credential in JVisualVM, and the connection succeeded.
    And I just used the "host:port" form, not the protocol form.
    Edited by: david.karr on Feb 4, 2011 12:47 PM

  • URGENT HELP - SWF in html doesnt connect to remote server

    Hi,
    I have an swf placed on a website which needs to connect to a
    remote server but it doesn't work. I'm using SWFObject to embed the
    swf file and i can see it no problems and the buttons are
    definitely active but it never connects to the server that's it's
    pointing to. I've tested with different servers and it's the same
    for all of them even one with absolutely no firewall or virus
    protection.
    It seems something is blocking the files as the correct
    requests are being made (i checked with trace statements)....I
    think it's the flash.....is there something i'm doing wrong in the
    publishing of the swf file?
    thanks for any suggestions!
    Greg
    ps. sorry for cross posting - this is urgent!

    Hi,
    If you have a swf living on one server and communicating with
    another, you need to have a crossdomain.xml file placed in the root
    of the remote server you are calling. This is a security
    restriction that started with Flash Player 6.
    You can read more about it here :
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213

Maybe you are looking for

  • Alv output download to excel sheet spliting into three line

    hi, i have developed alv report with 62 fields (62 colums).when i download this output into excel sheet each line spliting into three line.each field has 20 char length.i want download each row as single line. i am using local file  (ctrl + shift+F9)

  • How to use content presenter with a multilanguage site

    I would you like to know if it's possible to manage a content presenter with multi language ? Normally, if i would show a content with a template view , i choose a UCM content to the parameter interface of the content presenter. Anybody has found a s

  • OVM 3.2.1 + Sun ZFS - want to create second repository

    Hi All, I am very new to this VM architecture. Our VM environment's repository exists in the Sun ZFS. I have created a similar LUN in the Sun ZFS Storage. But, I am not sure how to expose this to the VM Manager or the OVS so that I can create virtual

  • Default collection implementation

    If I am not mistaken default implementation for collection in Kodo is LinkedList based below is some statistics on collection performance (populating and iterating collections) the same test against 3 collections implementations (JDK 1.4.1) Not only

  • Podcast library non-functional since upgrade

    Hi, Seven days ago, I updated iTunes. For two days(Sunday and Monday), iTunes would not start, saying it could not find my library (which is on an external hard drive). On Wednesday, it found my library, but not my podcasts. On Thursday, it found my