Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4324746
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T09:10:26+00:00 2026-05-21T09:10:26+00:00

I’m having some difficulty starting what I presume is the webserver for the labrepl

  • 0

I’m having some difficulty starting what I presume is the webserver for the labrepl program.
I used the instructions here to set everything up, and installed labrepl successfully.

I was able to run the repl and get the lessons in my browser. For some reason, when I started Eclipse today and used the “Run As new Clojure project’s JVM and a REPL” it said there was an error in the labrepl.clj. I cleared out the directory made by git (I couldn’t find the one made by Maven, but I deleted it out of the workspace, specifying to delete the files).

I went through the directions on that website again, getting what seems like labrepl 0.0.2 (according to the pom.xml file). Now there were no problems with the labrepl.clj, but when starting (labrepl/-main), the following error comes up:

2011-04-17 01:29:07.380:INFO::jetty-6.1.26
2011-04-17 01:29:07.502:WARN::failed SocketConnector@0.0.0.0:9000: java.net.BindException:     
Address already in use: JVM_Bind
2011-04-17 01:29:07.503:WARN::failed Server@2d68be1b: java.net.BindException: Address  
already in use: JVM_Bind
java.net.BindException: Address already in use: JVM_Bind (repl-1:3)

Consequently, the web based version of the lessons will not work. I hunted through the directory structure for the lessons, but I couldn’t find any html.

I found this which seems to be a similar problem, possible solution for rolling back to an earlier version, but I wanted to see if anyone had run into this specific situation before.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T09:10:27+00:00Added an answer on May 21, 2026 at 9:10 am

    The problem you link to is not similar: you’ve already solved the problem he was having, so there’s no need to worry about trying to apply his solution. Instead, your issue is that some other program is using socket 8080, so the labrepl webserver can’t.

    Last time I used Eclipse, it turned out that Eclipse itself optionally uses 8080 for some kind of dynamic-language support and that was getting in my way; but 8080 is a pretty common port, and someone else might be using it.

    If you are using a Unix-like operating system, there’s one way you can find out who has that socket open – use lsof to list “open files” with the -i option to say that you mean sockets.

    $ lsof -i :8080
    COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
    java    6427  akm   46u  IPv6 107739      0t0  TCP *:http-alt (LISTEN)
    
    $ cat /proc/6427/cmdline 
    java-cplib/*:src/:resourceclojure.main-e(use 'sexpbot.run) (-main)
    

    The command line is a bit mangled, but recognizable: process 6427 is listening to my port 8080, and that process is my local copy of sexpbot.

    If you have such a process, you can work around your problem by disabling it temporarily (say, by killing the process).

    The better long-term solution is to configure Jetty to use a different port for labrepl. I’m sure there are better ways of doing this, but I don’t know Jetty that well. If you look inside labrepl/src/labrepl.clj, there is a line (run-jetty (var app) {:port 8080. Change 8080 to some other port (say, 8778), and then it should start up fine. You’ll be able to browse to localhost:8778 and work with labrepl that way.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I have just tried to save a simple *.rtf file with some websites and
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
this is what i have right now Drawing an RSS feed into the php,
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I want to count how many characters a certain string has in PHP, but
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I have a French site that I want to parse, but am running into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.