Re: socket programming (client-server) error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Python

    Re: socket programming (client-server) error


    On 22 okt 2008, at 13:50, ryan fox wrote:
    i have implemented a small client server model to do file transfer
    over a LAN network.
    >
    It work with some machines on the network and on others it doesnt.
    when i run the server.py file in some machine then it pops up a
    windows security alert.
    >
    The message is as follows:
    >
    Do you want to keep blocking this program?
    there are three options below it. 1. Keep Blocking 2. Unblock 3. Ask
    Me later.
    >
    I selected the option unblock.Even then the client and server are not
    able to communicate.
    I get a error saying that:-
    >
    socket.error: (10060, 'Operation timed out')
    >
    I guess its a firewall problem... How do i go abt it?????
    any help? --
    does it work if you temporarily switch off the firewall?


    gr
    Arno
  • ryan

    #2
    Re: socket programming (client-server) error

    On Oct 22, 6:18 pm, Python <pyt...@rgbaz.e uwrote:
    On 22 okt 2008, at 13:50, ryan fox wrote:
    >
    >
    >
    i have implemented a small client server model to do file transfer
    over a LAN network.
    >
    It work with some machines on the network and on others it doesnt.
    when i run the server.py file in some machine then it pops up a
    windows security alert.
    >
    The message is as follows:
    >
         Do you want to keep blocking this program?
    there are three options below it. 1. Keep Blocking 2. Unblock 3. Ask
    Me later.
    >
    I selected the option  unblock.Even then the client and server are not
    able to communicate.
    I get a error saying that:-
    >
    socket.error: (10060, 'Operation timed out')
    >
    I guess its a firewall problem... How do i go abt it?????
    any help? --
    >
    does it work if you temporarily switch off the firewall?
    >
    gr
    Arno
    HI arno ,

    In the firewall setting i have unblocked this program and tried. But
    it works on some machines on the LAN and doesnt work on other
    machines.
    Even if the firewall is on it work on some machines. So narrowing down
    on the problem seems tough here....

    any ideas?

    Comment

    • James Mills

      #3
      Re: socket programming (client-server) error

      On Thu, Oct 23, 2008 at 1:49 PM, ryan <ryan.fox17@gma il.comwrote:
      any ideas?
      As mentioned before, try:
      * Turning _off_ _all_ _firewalls_.

      cheers
      James

      --
      --
      -- "Problems are solved by method"

      Comment

      • Python

        #4
        Re: socket programming (client-server) error


        On 23 okt 2008, at 05:49, ryan wrote:
        On Oct 22, 6:18 pm, Python <pyt...@rgbaz.e uwrote:
        >On 22 okt 2008, at 13:50, ryan fox wrote:
        >>
        >>
        >>
        >>i have implemented a small client server model to do file transfer
        >>over a LAN network.
        >>
        >>It work with some machines on the network and on others it doesnt.
        >>when i run the server.py file in some machine then it pops up a
        >>windows security alert.
        >>
        >>The message is as follows:
        >>
        >> Do you want to keep blocking this program?
        >>there are three options below it. 1. Keep Blocking 2. Unblock 3. Ask
        >>Me later.
        >>
        >>I selected the option unblock.Even then the client and server are
        >>not
        >>able to communicate.
        >>I get a error saying that:-
        >>
        >>socket.erro r: (10060, 'Operation timed out')
        >>
        >>I guess its a firewall problem... How do i go abt it?????
        >>any help? --
        >>
        >does it work if you temporarily switch off the firewall?
        >>
        >gr
        >Arno
        >
        HI arno ,
        >
        In the firewall setting i have unblocked this program and tried. But
        it works on some machines on the LAN and doesnt work on other
        machines.
        Even if the firewall is on it work on some machines. So narrowing down
        on the problem seems tough here....
        >
        any ideas?
        --
        yeah a million ideas...
        really it sounds like a firewall problem, specially cu it work on one
        machine but not on the other.
        try switch it off completely... obviously "unblocking " doesn't seem to
        do the job

        if it works on one machine, the code is obviously ok
        i assume you;re on a windows machine?

        to mention some other possible reasons,
        are you using an IP or DNS name?
        maybe the firewall blocks the DNS server and can't retrieve an IP for
        the server?
        can you access the internet from those machines?

        maybe the machine is not on the same subnet as the server
        can you ping the server?

        for more reasons i'm afraid you have to try another list
        since this doesn't sound like a python problem
        and i'm definitely not a windows guru (only osx, linux and freebsd here)

        gr
        arno

        Comment

        Working...