Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^2: Internet connection 4g modem

by mic537 (Novice)
on Nov 21, 2016 at 16:51 UTC ( #1176261=note: print w/replies, xml ) Need Help??

in reply to Re: Internet connection 4g modem
in thread Internet connection 4g modem

I try to install module through cpan - and receive: module LWP failed with code500 And also I try with my program ( pl converted to exe) which worked well on Ethernet, and through modem it failed on lines: my $sock = new LWP::Socket();  die "Can't bind a socket" unless $sock->bind('', '8080');

impossible to open socket when modem is found on PC.

Replies are listed 'Best First'.
Re^3: Internet connection 4g modem
by choroba (Cardinal) on Nov 21, 2016 at 17:17 UTC
    Do you really use If so, the modem isn't involved, as is localhost . Are you sure the webserver is running on port 8080?

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
      Yes, It works OK with Ethernet. localhost:8080/site.html works OK after webserver is launched. But when I connect 3g modem with dedicated program for it ( with Ethernet off), it fails to make socket and LWP too. Internet through modem works OK. BUT! When I had ActivePerl it successfully connected to Internet by those modem and I easily installed modules through ppm and cpan. And I launched this webserver and it works on localhost! What is the difference between ActivePerl and Strawberry in that case?

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1176261]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2023-03-28 11:47 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (67 votes). Check out past polls.