IP address,PLZ help me

how can i know the IP address of the client machine from the server machine
thx for time

Here is a solution
InetSocketAddress tmp;
ServerSocket s = new ServerSocket(port);
Socket soc = s.accept();
tmp = (InetSocketAddress)soc.getRemoteSocketAddress();
System.out.println(tmp.getAddress().getHostAddress()); // The remote host IP
...

Similar Messages

  • I have I-phone 5s and i forgot my rescue Email Address for security question1answer..now what can i..? i want to change security answer..plz help me

    i am using 5s and i dont remeber my rescue email address and answer of security question...
    i am unable to purchace any thing from app store..
    what can i do for changing either security answer or resucue email address ..?
    want to change rescue emaail address and securities answer..
    PLZ HELP M TO SOLVE THIS PROBLEM

    I firgot my rescue email adreas and that securities questions .. I know my apple id and password .. So i am using it .. Bt when i am going to purchase anything then my securite answer needed bt i dont know that .. If I want to know or change that then I need rescure email .. I forgot that also ..so how can I purchase any thing ..
    this is phone is my owned and m using it .. It not stolen .
    so whats the solution to get that answer or for rescue email .. Otherwise I cant purchase anything ..
    ANd nd i dont want to change my apple I'd .bcz I am using this id since 4-7 years

  • I forgot the icloud password and the email address to recover it is not working anymore plz help me

    i forgot the icloud password and the email address to recover it, is not working anymore plz help me
    i want to erase the iphone but i cant without writing the i cloud password

    iForgot iCloud Password

  • HT204053 I can not get my Icloud to work on my iphone and ipad since i set up my new email addy on Apple Icloud won't let me change it on those devices ...Plz Help Shey

    I can not get my Iphone or ipad to except the new email address that is now on Apple so nothing will back up or work on Icloud on those devices Thx plz help Sheyw

    With iCloud on the phone, you will need to remove the account, then add it back in with the new address.  It is a bit awkward, but the only way to change the AppleID for the iCloud account login is to delete the account then add it back with the new credentials.  You won't loose anything as the iCloud account is still the same one, you just need to re-associate the AppleID credentials for it on the iPhone.

  • Plz help me to design the system......Its very urgent

    Hi all members
    I have a problem and i am not able to start with the solution of this
    if all of u can help me to move with the solution of this problem
    I have to send the Java interfaces, and a brief write-up with assumptions and class-design.
    Challenge
    Your challenge is to begin development of a back-end system for the Galactic Census.
    You will be designing and implementing a Java API;
    you will not be building the user interface.
    The specifications have been written on a stack of white index cards.
    Each card has a title at the top and a few sentences describing what is desired.
    Your customer, the Galactic Government,
    has also communicated to you some idea of the value of each card.
    Card Title Description Value
    Person Data Entry Several persons may be entered into the system.
    Each person has a full name, date of birth, planet of residence,
    local address (on that planet), and annual income.
    Being able to enter this data is critical to the Census.
    Person Data Report All the person data in the system may be retrieved at once.
    The data should be grouped by planet,
    and ordered alphabetically by full name within each planet.
    This report will be needed in the future,
    but is less immediately valuable than the various statistics.
    Statistic: Galactic Total The total number of persons in the Galaxy may be retrieved
    from the system. This statistic is one of the primary goals of the Census.
    Statistic: Planetary Total The total number of persons on any given planet
    may be retrieved from the system.
    This statistic is one of the primary goals of the Census.
    Statistic: Galactic Per Capita Income The average income per person in the
    Galaxy may be retrieved from the system.
    This statistic is required by Government economists.
    Statistic: Planetary Per Capita Income The average income per person on
    any given planet may be retrieved from the system.
    Some university researchers have asked for this statistic.
    plz help me to start with this problem
    Thanks

    plz help me to start with this problemRead the problem description and make a class design based on which class needs to do what. Take these "white cards" as basis. Think about the services your system has to offer. Make interfaces for those.

  • Jaxrpc compilation exception(plz Help very Urgent Plz)

    Hello there....
    while deploying a simple webservice using deploytool i m getting this error while the application that is being deployed is not even using ejbs....
    i m trying to compile the example given on the forum by Qusay H. Mahmoud, so plz help me to get out from this......
    Thank u ....alll
    distribute: C:\Sun\AppServer\apps\Add.war
    deployment started : 0%
    Deploying application in domain failed; Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
    ; requested operation cannot be completed
    !!! Operation Failed !!!
    !!! With The Following Failure Messages !!!
    Deploying application in domain failed; Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
    ; requested operation cannot be completed
    Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
    [Completed (time=24.0sec, status=13)]
    **********************************************************************

    I had a similar problem with Sun App Server.If you can check the domain/log/Server.log.It explains a valid endpoint address is missing in the deployment.To do this open the deployment tool and click the Implementation class in the tree(Bean Shaped).
    You can see a endpoint tab within which you need to configure the Endpoint address.
    The deployment went fine after this.
    Good Luck !!!

  • Plz help i have trouble

    Hello i have a trouble in my nokia N97
    my problem is that i have only 2 mega free in my C memory and i dont have any pics or messages or any thing on it and when i make memory detail for C what i found is SIS AOOKICATIONS is 32 MB and Other friles 38 MB
    can u plz describe for me what is sis and other files and how can i only fromat C and why not all apllications downloaded on mass memory even i make the option in ovi store  plz plz help
    THANKS
    Moderator's note: Email address removed. It is not wise to publish your personal information on a public forum.

    @amro_1230
    Remember to backup essential data first but you can reset device to "Out of box" state by three keys depressed power on as for N97 described here:http://mynokiablog.com/2009/07/18/how-to-hard-reset-your-nokia-n97/
    Happy to have helped forum with a Support Ratio = 42.5

  • Plz Help setting up my Mac g4 with WRT54g. PLEASE!!

    Hey, first let me say that I am brand new to doing anything wireless. Just never had the need for it before and now I am completly lost and havnt a clue what to do or where to go. Here is my situation and what I want to accomplish.
    First I am not trying to go wireless with my Mac. I purchased the router so I could use my internet connection with my XBox360 which is hooked up downstairs from my computer. So basically what Iwant to do is just hardwire my Mac into the router and keep the router right next to my computer. I purchased the Xbox360 Wireless network adaptor and should have all the equipment to get this thing working. The problem is Idont know how to set up the router as no software for the Mac was included and I dont have a wireless card in my Mac or anything like that. I just wanted to plug the internet connection into the router, connect my Mac to port 1 and have the Xbox be the only thing really wireless. Ihope I explkained that good enough.
    I tried just hooking it up and putting the Ethernet cord from my computer in Port 1 but nothing is working. Ieven tried setting up the Xbox360 and it keeps stopping at the DNS section of the setup operation.
    I am clueless where to go from here. I called on the phone and they told me that it doesnt support the Mac but everywhere I look it says that the Mac is supported and even the sales guy said I could use my Mac with this model. I am completly lost and dont know who can help me now. What should have been really simple to setup has now been a total nightmare and a waste of 175 bucks.
    I would be forever endebted to anyone who can help or even point me in the right direction. Again all I want is to keep the router by my computer and keep the computer connected with a wire. Its the Xbox that I really purchased this for. Plz help.
    Thank you!!
    Router impaired Customer

    Well, for the MAC you will have to manually configure the router. You forgot to mention the name of your ISP. If it’s a cable connection then try this :
    Open IE and type http://192.168.1.1 . You will see the login screen.
    Leave the username blank and type "admin" for the password. You will find the set up screen. Go to " Mac Address Clone" subtab. Enable it and click on "clone". Save the settings and power cycle If it’s a DSL connection , under the " Basic Setup " page, change the internet connection type as PPPoE and enter the username and password provided by the ISP.
    Now, once you have an internet connection on the computer, you can try to use your x-box 360.

  • On OLE ADSL  setup........what to do??plz help...........

    sir
    how to set gate way on pppoe connection for ADSl modem???
    plz help....
    Regards
    Edited by: sayantan chakraborty on Jul 31, 2009 1:56 AM

    i have dynamic ip address.so what to do?can you say like
    step 1 action
    step 2 action
    all.
    please help..............
    output of
    ipconfig /all
    Windows IP Configuration
       Host Name . . . . . . . . . . . . : FAXCOOLWAREZ037
       Primary Dns Suffix  . . . . . . . :
       Node Type . . . . . . . . . . . . : Hybrid
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No
    PPP adapter Broadband Connection:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Broadband Connection
       Physical Address. . . . . . . . . :
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
       IPv4 Address. . . . . . . . . . . : 117.194.***.***(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.***.***
       Default Gateway . . . . . . . . . : 0.0.0.0
       DNS Servers . . . . . . . . . . . : 218.248.***.***
                                           218.248.***.***
       NetBIOS over Tcpip. . . . . . . . : Disabled
    Ethernet adapter Local Area Connection:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Broadcom NetLink (TM) Gigabit Ethernet
       Physical Address. . . . . . . . . : 00-1D-72-39-**-**
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       Autoconfiguration IPv4 Address. . : 169.254.***.***(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.***.***.***
       Default Gateway . . . . . . . . . :
       NetBIOS over Tcpip. . . . . . . . : Enabled
    Wireless LAN adapter Wireless Network Connection:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Intel(R) PRO/Wireless 3945ABG Network Connection
       Physical Address. . . . . . . . . : 00-1F-3C-**-**-**
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : YesEdited by: sayantan chakraborty on Jul 30, 2009 12:04 PM
    Edited by: sayantan chakraborty on Jul 30, 2009 12:06 PM

  • Ip to location ......plz help urgent

    Hi all,
    i need a code which finds out/tracks IP address of a machine and based on that it helps to find out which country it is.i mean based on specific IP ,i get to know country and on that basis Locale can be set.Ultimately when the page renders it shows that county language.
    Plz help me out to solve out this issue and its urgent.
    Any materials(tutorials,sample code) would be quite helpful for me.
    Thanks in advance.

    Hi Frank
    Thanks for ur reply.
    Yes its a web application but as i had described above i need to set locale/multilingual on the basis of users ip.ip will tell the location and after that locale can be set.
    Plz tell me desired sol.
    Thnks

  • Plz help I changed my gmail on my Apple ID but I can't download on the App Store the old gmail keeps coming up can enemy one help plzzzzzzzzzz.

    Plz help I changed my gmail on my Apple ID but the old one keeps commingled up what will I do plzzzzzzzz help

    First, are you sure you changed your email address associated with your Apple ID and did not creat a new Apple ID?
    Try signing out of your Apple ID on your iPad then sign back in. Use the Settings app.
    Settings > iTunes and App Store > tap on your Apple ID > sign out
    Then sign in to your Apple ID. What happens?

  • Out of memory error.............plz help

    i m implementing an application containing 90 data fields.
    i m doing it using jdk1.4 and oracle 8i.
    problem is every time i try open any menu item from menubar the application gets stopped and nothing works and it shows out of memory error on console.
    is it due to 90 fields together in the database???
    or it means something else.
    plz help
    thanks in advance.

    thanks for reply
    in menubar i have many menuitems.
    when i click on menuitem1, say there are about 15 fields in which i fill data an insert it into database.
    in next menuitem i.e menuitem2, i have 25 fields in which i view / read 15 fields which were previously entered in menuitem1, and i add another 10 fields to the database.
    this way it happens in all other menuitems.
    i had to follow this way as i m making a project for a company having many departments.
    the code is too large to post over here, if i could get your e-mail address i can mail it to you.

  • PLZ HELP US IN IMPROVING PERFORMANCE

    Hi ,
    We recently installed solaris 10 (5.10) on sun sparc 64 bit machine and created oracle DB with 10.2.0.1 release .
    After solaris 10 installation, our application performance has come down drastically.
    The same application is running fine on solaris 9 ( 5.9 )
    Old configuration
    sun sparc 64 bit
    solaris 9 (no patches applied )     
    oarcle 10.2.0.1 (no patches applied )     
    jboss      3.2.7               
    jdk 1.4     
    New configuration
    sun sparc 64 bit
    solaris 10 (no patches applied )
    oarcle 10.2.0.1 (latest patches applied )
    jboss 4.2.0
    jdk 1.5_12
    we would like to know about any known Solaris , Oracle DB patches to address this performance issue.
    and also we would like to know about any incomapatability between the jboss and jdk we have used.
    Any solution to bring back performance, would be of great help to us.
    thanks a lot in advance.

    user645751 wrote:
    Hi ,
    We recently installed solaris 10 (5.10) on sun sparc 64 bit machine and created oracle DB with 10.2.0.1 release .
    After solaris 10 installation, our application performance has come down drastically.
    The same application is running fine on solaris 9 ( 5.9 )
    Old configuration
    sun sparc 64 bit
    solaris 9 (no patches applied )     
    oarcle 10.2.0.1 (no patches applied )     
    jboss      3.2.7               
    jdk 1.4     
    New configuration
    sun sparc 64 bit
    solaris 10 (no patches applied )
    oarcle 10.2.0.1 (latest patches applied )
    jboss 4.2.0
    jdk 1.5_12
    we would like to know about any known Solaris , Oracle DB patches to address this performance issue.
    and also we would like to know about any incomapatability between the jboss and jdk we have used.
    Any solution to bring back performance, would be of great help to us.You seem to have this issue now for quite a while? See here:
    PLZ HELP ME:::Degradation in performance of ORA-10G in solaris sparc
    Check your AWR reports on the new database if you can spot any notable issues there, if you have the license or install/check STATSPACK reports if you can't use AWR.
    You need to find out where the root cause of your problem is, and it might not be the database.
    In your old thread you had posted the same configuration for both systems, except for the O/S version. Now you seem to have upgraded a lot of the components like JBOSS version or the JDK version.
    oarcle 10.2.0.1 (latest patches applied )Does this mean 10.2.0.4, or what does "latest patches applied" but 10.2.0.1 as version mean?
    Open an SR with Oracle and ask them if they are aware of any generic Solaris 10 issues.
    In your last post you talked about "new stored procedures" so it wasn't clear if you really only changed the O/S or applied any changes to the application/database as well.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • My iphone 4 has came from Sweden,but i dont know its original carrier . plz help me how can i identify is carrier.

    My iphone 4 has came from Sweden,but i dont know its original carrier . plz help me how can i identify is carrier.

    Having the email address is not necessary. It is just the username for the device. All you need is that Apple ID and password. Now, if you forgotten the password, then you have more work to do. Since that email is no longer active, you would need to send the reset to your rescue email, if you remember that. Or you will need to contact Apple Security for help. Apple ID: Contacting Apple for help with Apple ID account security

  • HT5312 I can't seem to get the rescue email for my security questions to reset them plz help idk what to do :o

    Plz help me idk what to do

    If you aren't receiving the email (and you've checked the spam folder on your rescue email account as well as the inbox, and tried clicking the reset link again), or you don't have a rescue email address on your account (you won't be able to add one until you can answer your questions), then you will need to contact iTunes Support / Apple in your country to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699

Maybe you are looking for