Results 1 to 14 of 14
  1. #1
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    284
    Rep Power
    3

    Default chat application working on dynamic ip (among network) But not on static (server) ip

    Hi!

    I have developed a window based chat application for chatting, screen sharing, file sharing, video playing.

    All are working well on my local network systems (eg. dynamic server ip is 192.168.1.122). But if i try to run on my server (eg. static server ip 50.62.8.22) it is not get connected..,

    i don't know the reason, can any one guide me please..,

    Thank You!

    Have A Happy Day..,
    - Raj

  2. #2
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    947
    Rep Power
    2

    Default Re: chat application working on dynamic ip (among network) But not on static (server

    Could be lots of things, most likely a firewall issue. Got any logs that show errors?
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

  3. #3
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    947
    Rep Power
    2

    Default Re: chat application working on dynamic ip (among network) But not on static (server

    Also, internal and external IP's could be messed up. What code do you use to connect?
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

  4. #4
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    284
    Rep Power
    3

    Default Re: chat application working on dynamic ip (among network) But not on static (server

    Thank You Mr.Sufman!

    i didn't receive any log. But if i run the both my server & client program on the same server (50.62.8.22) machine it is working well,

    instead of running my server program at (50.62.8.22) & my client program on (192.168.1.122) is only making problem..,
    - Raj

  5. #5
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    284
    Rep Power
    3

    Default Re: chat application working on dynamic ip (among network) But not on static (server

    One impotent thing.

    Note :
    server id 64 bit windows os but i have installed 32 bit jre on it .because i developed my program by using 32 bit os only..,
    - Raj

  6. #6
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,030
    Rep Power
    6

    Default Re: chat application working on dynamic ip (among network) But not on static (server

    instead of running my server program at (50.62.8.22) & my client program on (192.168.1.122) is only making problem..,
    So 192.168.1.122 does not have access to 50.62.8.22.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  7. #7
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    947
    Rep Power
    2

    Default Re: chat application working on dynamic ip (among network) But not on static (server

    Quote Originally Posted by raj.mscking@gmail.com View Post
    Thank You Mr.Sufman!
    If you're Dutch, this is kinda funny...

    Quote Originally Posted by raj.mscking@gmail.com View Post
    i didn't receive any log.
    YOU are the developer. YOU are the one that should create a file and log anything remotely interesting.

    Quote Originally Posted by raj.mscking@gmail.com View Post
    But if i run the both my server & client program on the same server (50.62.8.22) machine it is working well,
    instead of running my server program at (50.62.8.22) & my client program on (192.168.1.122) is only making problem..,
    You already told us. Just to paint you a picture of what this looks like on our end: you have created a chat-thing. You post on the forum saying "it doesn't work" and somehow we are supposed to know what the problem is? All we can do is give vague suggestions about firewalls, ip addresses and other network related things.
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

  8. #8
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    284
    Rep Power
    3

    Default Re: chat application working on dynamic ip (among network) But not on static (server

    Thank You for Your response My Seniors!

    I will check every thing now itself as your idea,

    Thank You!

    Have A happy Day..,
    - Raj

  9. #9
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,030
    Rep Power
    6

    Default Re: chat application working on dynamic ip (among network) But not on static (server

    Quote Originally Posted by SurfMan View Post
    If you're Dutch, this is kinda funny...
    I don't get it, therefore I am not Dutch?
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  10. #10
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    284
    Rep Power
    3

    Default Re: chat application working on dynamic ip (among network) But not on static (server

    If i made any grammatical mistake i am sorry for that,
    Thanks to point out my grammatical mistake,
    Because English is not compulsory in my country, i have developing myself in English with my own interest only, i will correct my mistake,

    Thank You My Senior!

    Have A Happy Day..,
    - Raj

  11. #11
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    947
    Rep Power
    2

    Default Re: chat application working on dynamic ip (among network) But not on static (server

    Quote Originally Posted by raj.mscking@gmail.com View Post
    If i made any grammatical mistake i am sorry for that,
    Thanks to point out my grammatical mistake,
    Because English is not compulsory in my country, i have developing myself in English with my own interest only, i will correct my mistake,

    Thank You My Senior!

    Have A Happy Day..,
    You do a pretty good job. You are quite understandable, language-wise.

    In short: you gave my name a special meaning by leaving out one letter :) No worries, no offense taken. Keep up the good work!
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

  12. #12
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,030
    Rep Power
    6

    Default Re: chat application working on dynamic ip (among network) But not on static (server

    Quote Originally Posted by SurfMan View Post
    In short: you gave my name a special meaning by leaving out one letter :)
    Oh, now I get it. Not funny, just accurate.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  13. #13
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    284
    Rep Power
    3

    Default Re: chat application working on dynamic ip (among network) But not on static (server

    Thank You Mr.SurfMan!

    It is working now...,

    Thank You All My.Seniors.

    Based on your idea, I have off the firewall it is working well now..,

    Thanks A Lot..,

    Have A Happy Day..,
    - Raj

  14. #14
    kneitzel is offline Senior Member
    Join Date
    Feb 2014
    Posts
    447
    Rep Power
    1

    Default Re: chat application working on dynamic ip (among network) But not on static (server

    Just to clarify:
    All connections are from client to server? So the server does not try to open a connection to the client? (This is impossible because the client has public ip)

    I think that the firewall was mentioned already.

    With kind regards,

    Konrad

Similar Threads

  1. Help Needed! Android chat - pc chat server
    By thornt in forum Android
    Replies: 3
    Last Post: 04-13-2012, 12:50 PM
  2. Chat Over Internet Not Working?
    By xXx BlitzK xXx in forum Networking
    Replies: 3
    Last Post: 12-03-2010, 06:10 PM
  3. Replies: 7
    Last Post: 05-02-2010, 10:35 PM
  4. Simple TCP chat application not working for me
    By sundarrajan in forum New To Java
    Replies: 0
    Last Post: 08-13-2009, 08:31 AM
  5. Working with network signals
    By islamfunny in forum Sun Java Wireless Toolkit
    Replies: 0
    Last Post: 09-27-2008, 01:49 PM

Posting Permissions

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